No description
Find a file
semantic-release-bot c864831ef9 chore(release): 1.7.0 [skip ci]
# [1.7.0](https://github.com/de-it-krachten/ansible-role-redis/compare/v1.6.0...v1.7.0) (2026-07-26)

### Bug Fixes

* Standarize vars.yml ([40aad7f](40aad7f7f0))

### Features

* Add support for ansible-core 2.20+ ([a446308](a446308861))
* Added support for Ubuntu 26.04 LTS ([57fbcba](57fbcba930))
2026-07-26 19:57:31 +00:00
.github/workflows Update CI 2026-07-23 17:11:11 +02:00
defaults fix: Fix loop label to string 2023-09-17 22:03:18 +02:00
handlers feat: Move to FQCN 2022-10-09 23:02:39 +02:00
meta Update supported platforms & CI 2025-08-12 09:51:09 +02:00
molecule/default Update CI 2026-07-25 17:41:47 +02:00
tasks feat: Add support for ansible-core 2.20+ 2026-06-07 16:25:43 +02:00
.ansible-lint Update CI 2026-06-07 17:54:51 +02:00
.cicd Update CI 2026-06-09 11:21:00 +02:00
.cicd.overwrite Update CI 2026-06-07 17:54:51 +02:00
.collections feat: Move to FQCN 2022-10-09 23:02:39 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 11:48:29 +01:00
.releaserc.yml Update CI 2026-03-06 23:05:38 +01:00
.roles feat: Update CI to latest standards 2022-10-09 23:03:05 +02:00
.yamllint feat: Update supported platforms & CI 2024-12-29 11:48:29 +01:00
CHANGELOG.md chore(release): 1.7.0 [skip ci] 2026-07-26 19:57:31 +00:00
README.md Update CI 2026-06-07 17:54:51 +02:00

CI

ansible-role-redis

Installs & manages redis

Dependencies

Roles

None

Collections

None

Platforms

Supported platforms

  • Red Hat Enterprise Linux 81
  • Red Hat Enterprise Linux 91
  • RockyLinux 8
  • RockyLinux 9
  • OracleLinux 8
  • OracleLinux 9
  • AlmaLinux 8
  • AlmaLinux 9
  • Debian 11 (Bullseye)
  • Debian 12 (Bookworm)
  • Debian 13 (Trixie)
  • Ubuntu 22.04 LTS
  • Ubuntu 24.04 LTS
  • Ubuntu 26.04 LTS

Note: 1 : no automated testing is performed on these platforms

Role Variables

defaults/main.yml


# List of redis packages to install
redis_packages:
  - redis

# List of services
redis_services:
  - redis

# Dict of settings to configure
redis_settings:
  maxmemory: 100mb
  maxmemory-policy: volatile-ttl
  # bind: '127.0.0.1 ::1'
  bind: "127.0.0.1"
  supervised: systemd

defaults/family-Debian.yml


# redis configuration
redis_conf: /etc/redis/redis.conf

defaults/family-RedHat-9.yml


# redis configuration
redis_conf: /etc/redis/redis.conf

defaults/family-RedHat.yml


# redis configuration
redis_conf: /etc/redis.conf

defaults/family-Suse.yml


# List of redis packages to install
redis_packages:
  - redis7

# redis configuration
redis_conf: /etc/redis/default.conf

# List of services
redis_services:
  - redis@default

defaults/Ubuntu-18.yml


# redis configuration
redis_conf: /etc/redis/redis.conf

# Dict of settings to configure
redis_settings_overwrite:
  bind: '127.0.0.1'

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'redis'
  hosts: all
  become: 'yes'
  tasks:
    - name: Include role 'redis'
      ansible.builtin.include_role:
        name: redis