Role should restart/reload Nginx when SSL certificates change
Closed this issue · 3 comments
Chippit commented
Describe the bug
When running the role in an already-deployed environment with no change but an updated certificate, executing the role does not restart Nginx.
To reproduce
Steps to reproduce the behavior:
- Deploy the Ansible NGINX configuration onto a host, with SSL keys (
nginx_config_upload_ssl_enable: true, etc.) - Update the source SSL keys on the Ansible Controller
- Run your playbook again
Expected behavior
Nginx restarts and presents the new SSL keys.
Your environment
- Ansible 2.12.5
- Ansible Nginx 0.24.0
- Ansible Nginx Config 0.6.0
jcox10 commented
I just ran into this issue also, there is no handler when the SSL cert or key files are changed.
alessfg commented
I will admit this is a use case I did not test and as such I am not surprised it is broken. I will try to get a fix in as soon as I can!
jcox10 commented
I just submitted a PR that fixes this issue