-
-
Save michaeljs1990/42e5527f4d6f52a37a75 to your computer and use it in GitHub Desktop.
Example
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
#command line | |
ansible-playbook playbook.yml -i inventory |
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
[local] | |
localhost | |
[different] | |
localhost |
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: "*oc*" | |
tasks: | |
- name: hello | |
shell: echo "hi" | |
- hosts: "different" | |
tasks: | |
- name: hello | |
shell: echo "hi" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment