Skip to content

stuvusIT/redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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