Install and configure Redis.
- Only Debian Wheezy or Jessie.
- If you want to install Redis from backports, you must use add this repository.
- Default config file is defined in default vars. All config vars are prefixed with "redisconf_".
- redis_apt_backports: set true to install Redis from backports (default is false).
- redis_apt_target: target used by apt module. DO NOT EDIT! You must edit redis_apt_backports
None. But you can add explicitely my Dotdeb role to have the latest version of Redis!
- hosts: servers
roles:
- { role: HanXHX.redis }
- hosts: servers
roles:
- { role: HanXHX.dotdeb }
- { role: HanXHX.redis }
- hosts: servers
pre_tasks:
- apt_repository: repo='deb http://httpredir.debian.net/debian {{ ansible_distribution_release }}-backports main' state=present
roles:
- { role: HanXHX.redis, redis_apt_backports: true }
GPLv2
- You can find many other roles in my GitHub "lab": https://github.com/HanXHX/my-ansible-playbooks
- All issues, pull-request are welcome :)