Install and configure Redis. Manage replication.
OS Release | Status |
---|---|
Debian Stretch (9) | ✔️ |
Debian Buster (10) | ✔️ |
Debian Bullseye (11) | ✔️ |
- If you want to install Redis from backports, you must use add this repository.
- If redis is already installed by hand (or other process). Please uninstall and purge configuration files. This role uses default config file and overwrite config in another file.
- Default config file is defined in default vars.
redis_apt_backports
: set true to install Redis from backports (default is false).redis_ulimit
: manage ulimit in startup scriptredis_apt_target
: target used by apt module. DO NOT EDIT! You must editredis_apt_backports
None.
- hosts: servers
roles:
- { 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
If this code helped you, or if you’ve used them for your projects, feel free to buy me some 🍻
- Bitcoin:
1BQwhBeszzWbUTyK4aUyq3SRg7rBSHcEQn
- Ethereum:
0x63abe6b2648fd892816d87a31e3d9d4365a737b5
- Litecoin:
LeNDw34zQLX84VvhCGADNvHMEgb5QyFXyD
- Monero:
45wbf7VdQAZS5EWUrPhen7Wo4hy7Pa7c7ZBdaWQSRowtd3CZ5vpVw5nTPphTuqVQrnYZC72FXDYyfP31uJmfSQ6qRXFy3bQ
No crypto-currency? ⭐ the project is also a way of saying thank you! 😎
- Twitter: @hanxhx_
- All issues, pull-requests are welcome :)