DavidWittman / ansible-redis

Highly-configurable Ansible role to install Redis and Redis Sentinel from source
MIT License
663 stars 288 forks source link

Redis fails to stop when redis_password and redis_service_name are set #208

Closed adborden closed 5 years ago

adborden commented 5 years ago

On Ubuntu Trusty, when you issue a shutdown, the redis shutdown script calls redis-cli to issue the shutdown command. The password is necessary and is read from /etc/default/redis_<port>. However, if redis_service_name is set, the password configuration is written to /etc/default/<redis_service_name> and so is not sourced by the shutdown script.