Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.04 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.04 KB

Redis

This role installs and configures a redis server. It allows to set all configuration variables supported by redis.

Requirements

An apt-based Linux distribution.

Role Variables

This role seriously has a ton of variables. Instead of copying the defaults file here, look it up there. All variables from redis.conf are called exactly like they are called in the file but with redis_ prepended. The three commands below are usable multiple times so theres an example syntax on how to do that.

redis_save:
    - "900 1"
    - "800 2"
redis_include:
    - "foo.conf"
    - "/etc/redis/bar.conf"
redis_rename_command:
    - "CONFIG b840fc02d524045429941cc15f59e41cb7be6c52"

Example Playbook

- hosts: redis
  roles:
    - role: redis

License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Author Information