Created
April 18, 2016 20:02
-
-
Save resmo/c66725267906d6a869ddab69a99bdda4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - hosts: localhost | |
| gather_facts: no | |
| tasks: | |
| - name: copy an ssl cert | |
| shell: echo cert has been changed | |
| notify: | |
| - hosts: localhost | |
| gather_facts: no | |
| handlers: | |
| - name: service restart one | |
| shell: echo service one restarted | |
| subscribe: copy an ssl cert | |
| - name: service restart two | |
| shell: echo service one restarted | |
| subscribe: copy an ssl cert | |
| - name: service restart three | |
| shell: echo service one restarted | |
| subscribe: copy an ssl cert | |
| - hosts: localhost | |
| gather_facts: no | |
| handlers: | |
| - name: service restart two | |
| shell: echo service two restarted | |
| subscribe: copy an ssl cert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment