Skip to content
Snippets Groups Projects
Commit d086e775 authored by nimrod's avatar nimrod
Browse files

renew-certs: Always run handlers.

Because of the convoluted way I'm running tasks, there's only 1 host in
the play but the handlers are for the remote hosts. Run them even if
there's a failure to restart whatever is needed since the failure will
always be for the local host.
parent e43fb7d4
Branches
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
- name: Generate keys and certificates - name: Generate keys and certificates
hosts: hosts:
- localhost - localhost
force_handlers: true
gather_facts: false gather_facts: false
handlers: handlers:
- name: Restart Nginx on host01 - name: Restart Nginx on host01
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment