talas-group/04_INFRA_DEPLOIEMENT/Ansible/roles/redis
senke 66471934af Initial commit: Talas Group project management & documentation
Knowledge base of ~80+ markdown files across 14 domains (00-13),
Logseq graph, hardware design files (KiCAD), infrastructure configs,
and talas-wiki static site.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 20:10:41 +02:00
..
defaults Initial commit: Talas Group project management & documentation 2026-04-04 20:10:41 +02:00
handlers Initial commit: Talas Group project management & documentation 2026-04-04 20:10:41 +02:00
meta Initial commit: Talas Group project management & documentation 2026-04-04 20:10:41 +02:00
tasks Initial commit: Talas Group project management & documentation 2026-04-04 20:10:41 +02:00
templates Initial commit: Talas Group project management & documentation 2026-04-04 20:10:41 +02:00
readme.md Initial commit: Talas Group project management & documentation 2026-04-04 20:10:41 +02:00

Redis

Variable reference

Optional variables

Variable Description Type of variable Default value Other value
redis_config Override redis default settings located in /etc/redis/redis.conf dict See Example
redis_default_user_password Define redis superuser default password string auto (password is auto-generated and stored in Hashicorp vault) nopass (redis keyword to deactive password);
redis_acls Define ACLs doc list None

Example

redis_config:
  bind: "127.0.0.1 ::1"
  port: "0"
  unixsocket: "/var/run/redis/redis-server.sock"
  unixsocketperm: "770" # the unix socket mode is `0770`, and the owner and group is `redis`, so if you want to allow a process to access the socket, you may add its user to the redis group
  protected-mode: "no"
  save: '""' # snapshot to disk are disabled since we usually don't need persistence

redis_acls:
  - name: app1
    password: nopass # If the special keyword `auto` is provided the password will be generated and stored in Hashicorp Vault
    right: "~* &* +@all"