ansible-roles/redis
Mathieu Trossevin 7c632352a0
Replace the include module with include_tasks or import_tasks
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).

Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2023-01-03 14:43:42 +01:00
..
defaults redis: variable to disable transparent hugepage (default: do nothing) 2022-10-20 14:38:12 +02:00
files redis: check_redis_instances tolerates absence of instances 2022-03-01 14:02:22 +01:00
handlers redis: variable to disable transparent hugepage (default: do nothing) 2022-10-20 14:38:12 +02:00
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
tasks Replace the include module with include_tasks or import_tasks 2023-01-03 14:43:42 +01:00
templates redis: some values should be quoted 2022-10-20 14:36:47 +02:00
tests Add tests for many roles 2017-05-18 15:44:21 +02:00
.kitchen.yml Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
README.md redis: binding is possible on multiple interfaces 2022-06-08 15:36:47 +02:00

Redis

Installation and basic configuration of Redis.

This role is based on https://github.com/geerlingguy/ansible-role-redis

Tasks

Everything is in the tasks/main.yml file.

Available variables

Main variables are :

  • redis_conf_dir: config directory ;
  • redis_port: listening TCP port ;
  • redis_bind_interfaces: listening IP addresses (array) ;
  • redis_password: password for redis. Empty means no password ;
  • redis_socket_dir: Unix socket directory ;
  • redis_log_level: log verbosity ;
  • redis_log_dir: log file directory.
  • redis_maxmemory: max memory (0 for no limit)

The full list of variables (with default values) can be found in defaults/main.yml.