Created
September 16, 2015 12:03
-
-
Save jimi-c/9b0248a79f1068b30a0f to your computer and use it in GitHub Desktop.
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
# ansible-playbook -vv samples/test_blocks_of_blocks.yml | |
Using /etc/ansible/ansible.cfg as config file | |
1 plays in samples/test_blocks_of_blocks.yml | |
PLAY *************************************************************************** | |
TASK [debug msg=are we there yet?] ********************************************* | |
ok: [localhost] => { | |
"changed": false, | |
"msg": "are we there yet?" | |
} | |
TASK [debug msg=a random always block] ***************************************** | |
ok: [localhost] => { | |
"changed": false, | |
"msg": "a random always block" | |
} | |
TASK [fail] ******************************************************************** | |
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed as requested from task"} | |
TASK [debug msg=rescuing from the fail] **************************************** | |
ok: [localhost] => { | |
"changed": false, | |
"msg": "rescuing from the fail" | |
} | |
PLAY RECAP ********************************************************************* | |
localhost : ok=3 changed=0 unreachable=0 failed=1 | |
# ansible-playbook -vv samples/test_blocks_of_blocks.yml -e skip_me=True | |
Using /etc/ansible/ansible.cfg as config file | |
1 plays in samples/test_blocks_of_blocks.yml | |
PLAY *************************************************************************** | |
TASK [debug msg=are we there yet?] ********************************************* | |
ok: [localhost] => { | |
"changed": false, | |
"msg": "are we there yet?" | |
} | |
TASK [debug msg=a random always block] ***************************************** | |
ok: [localhost] => { | |
"changed": false, | |
"msg": "a random always block" | |
} | |
TASK [fail] ******************************************************************** | |
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} | |
PLAY RECAP ********************************************************************* | |
localhost : ok=2 changed=0 unreachable=0 failed=0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment