ansible-roles/redis
Mathieu Trossevin 956ecd4700
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).
2022-03-30 16:40:44 +02:00
..
defaults redis: use /run instead or /var/run 2021-02-18 16:42:54 +01:00
files redis: check_redis_instances tolerates absence of instances 2022-03-01 14:02:22 +01:00
handlers redis: add log2mail configuration for Redis if installed 2020-03-02 21:19:50 +01: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 2022-03-30 16:40:44 +02:00
templates redis: instance service for Debian 11 2021-07-02 21:13:42 +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 Fix redis' README title 2022-03-03 11:52:03 +01: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_interface: listening IP address ;
  • 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.