2022-03-03 11:52:03 +01:00
|
|
|
# Redis
|
2016-09-29 10:59:13 +02:00
|
|
|
|
2017-01-05 18:21:57 +01:00
|
|
|
Installation and basic configuration of Redis.
|
2016-09-29 10:59:13 +02:00
|
|
|
|
2016-09-30 09:48:41 +02:00
|
|
|
This role is based on https://github.com/geerlingguy/ansible-role-redis
|
2016-09-29 10:59:13 +02:00
|
|
|
|
2016-09-30 09:48:41 +02:00
|
|
|
## Tasks
|
2016-09-29 10:59:13 +02:00
|
|
|
|
2016-09-30 09:48:41 +02:00
|
|
|
Everything is in the `tasks/main.yml` file.
|
2016-09-29 10:59:13 +02:00
|
|
|
|
2016-09-30 09:48:41 +02:00
|
|
|
## Available variables
|
2016-09-29 10:59:13 +02:00
|
|
|
|
2016-09-30 09:48:41 +02:00
|
|
|
Main variables are :
|
2016-09-29 10:59:13 +02:00
|
|
|
|
2019-09-05 06:44:38 +02:00
|
|
|
* `redis_conf_dir`: config directory ;
|
2016-09-30 09:48:41 +02:00
|
|
|
* `redis_port`: listening TCP port ;
|
2022-06-08 15:36:47 +02:00
|
|
|
* `redis_bind_interfaces`: listening IP addresses (array) ;
|
2017-09-28 15:02:29 +02:00
|
|
|
* `redis_password`: password for redis. Empty means no password ;
|
2019-09-05 06:44:38 +02:00
|
|
|
* `redis_socket_dir`: Unix socket directory ;
|
2019-09-05 09:44:25 +02:00
|
|
|
* `redis_log_level`: log verbosity ;
|
2019-09-05 06:44:38 +02:00
|
|
|
* `redis_log_dir`: log file directory.
|
2019-10-24 15:12:25 +02:00
|
|
|
* `redis_maxmemory`: max memory (0 for no limit)
|
2016-09-29 10:59:13 +02:00
|
|
|
|
2016-09-30 09:48:41 +02:00
|
|
|
The full list of variables (with default values) can be found in `defaults/main.yml`.
|