Last active
August 29, 2015 14:07
-
-
Save grekko/f283976d2d0413c84c3f to your computer and use it in GitHub Desktop.
Ansible playbook w/ multiple play includes
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 | |
remote_user: root | |
tasks: | |
- name: Say bar | |
shell: echo "bar" |
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 | |
remote_user: root | |
tasks: | |
- name: Say foo | |
shell: echo "foo" |
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 | |
remote_user: root | |
include: play-bar.yml | |
include: play-foo.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment