Created
March 29, 2018 12:58
-
-
Save konstantin-kelemen/91c3d47edba0ea77736edf03df7616f6 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
ansible-playbook -i inventory main.yml --check -c local | |
PLAY [Ansible child group test] ************************************************ | |
TASK [debug] ******************************************************************* | |
ok: [host01] => (item=host02) => { | |
"item": "host02", | |
"msg": "nl" | |
} | |
ok: [host02] => (item=host02) => { | |
"item": "host02", | |
"msg": "nl" | |
} | |
ok: [host01] => (item=host03) => { | |
"item": "host03", | |
"msg": "us" | |
} | |
ok: [host02] => (item=host03) => { | |
"item": "host03", | |
"msg": "us" | |
} | |
ok: [host03] => (item=host02) => { | |
"item": "host02", | |
"msg": "nl" | |
} | |
ok: [host03] => (item=host03) => { | |
"item": "host03", | |
"msg": "us" | |
} | |
PLAY RECAP ********************************************************************* | |
host01 : ok=1 changed=0 unreachable=0 failed=0 | |
host02 : ok=1 changed=0 unreachable=0 failed=0 | |
host03 : ok=1 changed=0 unreachable=0 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment