Created
November 12, 2015 06:51
-
-
Save elleryq/73210dae767f6b4a2d8a to your computer and use it in GitHub Desktop.
Testing ansible playbook include functionality.
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
| --- | |
| - name: Provision servers | |
| hosts: 127.0.0.1 | |
| connection: local | |
| tasks: | |
| - name: add host | |
| add_host: hostname=127.0.0.1 groupname=xmpp | |
| - include: playbook2.yml passed_to_me='Hello, John' |
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
| - name: Configure provisioned servers | |
| hosts: xmpp | |
| user: ubuntu | |
| connection: local | |
| tasks: | |
| - name: display | |
| debug: var=passed_to_me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment