Redis: Set pasword variable as NULL instead of ''

This commit is contained in:
Ludovic Poujol 2017-10-02 17:13:10 +02:00
parent 43d2de5da7
commit 36419c5b3c
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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