DavidWittman/ansible-redis — pull request #43 by Zephyrean (2014-11-07 14:28:28+00:00)
Title: Simplest possible fix for service unable to stop Redis when it is bound to multiple interfaces

Since version 2.8 Redis may be bound to multiple interfaces specified as space separated list:
`bind 127.0.0.1 10.0.0.1`
Service script picks up the whole string and pushes it to the command `redis-cli -h 127.0.0.1 10.0.0.1` when trying to stop Redis which doesn't work. Simplest possible fix is to just pick the first one. You may want to change this by adding a separate variable maybe.
I don't use Sentinel but I believe that its bind address also should be modified in the same manner.