ansible-redis icon indicating copy to clipboard operation
ansible-redis copied to clipboard

Restart shutdown redis on previous bind IP when changed

Open dylancwood opened this issue 10 years ago • 2 comments

When changing the bind address of the redis the managed redis instances, ansible hangs on waiting for the service to come back up. I think that this is because the bind address is changed in the config file, then the redis service is restarted using a command based on the new bind address.

Test

Use this awesome repo to create a redis instance bound to 127.0.0.1, then modify the playbook to bind to the machine's actual IP.

Let me know if you would like more info, or can recommend a solution that I can implement.

dylancwood avatar Mar 31 '15 00:03 dylancwood

Thanks again @dylancwood; this is certainly an issue that needs solving. I'd be happy to hear your recommendations on this one.

DavidWittman avatar Mar 31 '15 14:03 DavidWittman

As with #115, this will be resolved by sending a SIGTERM instead of using the shutdown command.

DavidWittman avatar Nov 15 '16 22:11 DavidWittman