mirror of
https://gitea.0xace.cc/ansible-galaxy/redis.git
synced 2024-11-25 07:57:24 +00:00
18 lines
580 B
Plaintext
18 lines
580 B
Plaintext
|
bind {{ ansible_default_ipv4.address }}
|
||
|
port 26379
|
||
|
daemonize yes
|
||
|
supervised auto
|
||
|
pidfile /run/sentinel/redis-sentinel.pid
|
||
|
logfile /var/log/redis/redis-sentinel.log
|
||
|
dir /var/lib/redis
|
||
|
sentinel monitor mymaster {{ redis_master_ip }} 6379 2
|
||
|
sentinel auth-pass mymaster {{ redis_masterauth }}
|
||
|
sentinel auth-user mymaster {{ redis_masteruser }}
|
||
|
sentinel down-after-milliseconds mymaster 30000
|
||
|
acllog-max-len 128
|
||
|
sentinel parallel-syncs mymaster 1
|
||
|
sentinel failover-timeout mymaster 180000
|
||
|
sentinel deny-scripts-reconfig yes
|
||
|
SENTINEL resolve-hostnames no
|
||
|
SENTINEL announce-hostnames no
|