Created
September 14, 2018 08:49
-
-
Save markuman/3f85613257cf41330bd355f616926543 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
# funktioniert | |
- debug: var={{ item }} | |
with_items: | |
- ec2_out | |
TASK [debug] ********************************************************************************************* | |
ok: [localhost] => (item=ec2_out) => { | |
"ec2_out": { | |
"changed": true, | |
"failed": false, | |
"instance_ids": [ | |
"i-0f0de7bc8c16b4337" | |
], | |
... | |
# funktioniert nicht | |
- debug: var={{ item.ec2_out.instance_ids }} | |
with_items: | |
- ec2_out | |
- debug: var={{ item.instance_ids }} | |
with_items: | |
- ec2_out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment