Created
November 26, 2014 19:39
-
-
Save bcoca/5224b253aa9a2642644b 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
[WARNING]: It is unnecessary to use '{{' in loops, leave variables in loop | |
expressions bare. | |
PLAY [localhost] ************************************************************** | |
TASK: [debug things] ********************************************************** | |
ok: [localhost] => { | |
"things": [ | |
"Hello", | |
"{{ foob }}" | |
] | |
} | |
TASK: [debug var="{{ item }}"] ************************************************ | |
ok: [localhost] => (item=Hello) => { | |
"Hello": "{{ Hello }}", | |
"item": "Hello" | |
} | |
ok: [localhost] => (item={# foob #}) => { | |
"item": "{# foob #}", | |
"{# foob #}": "{{ {# foob #} }}" | |
} | |
TASK: [things with_items] ***************************************************** | |
fatal: [localhost] => One or more undefined variables: 'unicode object' has no attribute 'name' | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/home/bcoca/play.retry | |
localhost : ok=2 changed=0 unreachable=1 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment