-
-
Save mgwilliams/e0e98ce7930d56075ff9 to your computer and use it in GitHub Desktop.
This file contains 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: all | |
user: ubuntu | |
sudo: True | |
tasks: | |
- name: checkout git repo (as bob) | |
task: git repo=foo dest=/home/bob/foo | |
user: bob | |
notify: | |
- restart-foo | |
handlers: | |
- name: restart-foo (as root, the default) | |
action: service name=foo state=restarted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment