Redis: Set pasword variable as NULL instead of ''
This commit is contained in:
parent
43d2de5da7
commit
36419c5b3c
|
@ -7,7 +7,7 @@ redis_bind_interface: 127.0.0.1
|
|||
redis_unixsocket: '/var/run/redis/redis.sock'
|
||||
redis_timeout: 300
|
||||
|
||||
redis_password: ''
|
||||
redis_password: NULL
|
||||
|
||||
redis_loglevel: "notice"
|
||||
redis_logfile: /var/log/redis/redis-server.log
|
||||
|
|
|
@ -68,5 +68,5 @@
|
|||
option: env.password
|
||||
value: '{{ redis_password }}'
|
||||
notify: restart munin-node
|
||||
when: redis_password != ''
|
||||
when: redis_password != '' and redis_password != None
|
||||
tags: redis
|
||||
|
|
Loading…
Reference in a new issue