Created
January 22, 2016 07:19
-
-
Save elleryq/f4d218c310b876f43b14 to your computer and use it in GitHub Desktop.
Ansible EC2 module result
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
# exact_count: 1 | |
# nothing changed, instances will be in tagged_instances | |
TASK [debug] ******************************************************************* | |
ok: [127.0.0.1] => { | |
"ec_aa": { | |
"changed": false, | |
"instance_ids": null, | |
"instances": [], | |
"tagged_instances": [ | |
{ | |
"private_dns_name": "", | |
"private_ip": "", | |
"public_dns_name": "", | |
"public_ip": "", | |
} | |
] | |
} | |
} |
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
# exact_count from 2 to 1 | |
# terminated instances will be in instances | |
# remained instances is still in tagged_instances | |
TASK [debug] ******************************************************************* | |
ok: [127.0.0.1] => { | |
"ec_aa": { | |
"changed": true, | |
"instance_ids": [ | |
"" | |
], | |
"instances": [ | |
{ | |
"state": "terminated", | |
"private_dns_name": "", | |
"private_ip": "", | |
"public_dns_name": "", | |
"public_ip": "", | |
} | |
], | |
"tagged_instances": [ | |
{ | |
"private_dns_name": "", | |
"private_ip": "", | |
"public_dns_name": "", | |
"public_ip": "", | |
} | |
] | |
} | |
} |
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
# exact_count: 1 | |
TASK [debug] ******************************************************************* | |
ok: [127.0.0.1] => { | |
"ec_aa": { | |
"changed": true, | |
"instance_ids": [ | |
"" | |
], | |
"instances": [ | |
{ | |
"private_dns_name": "", | |
"private_ip": "", | |
"public_dns_name": "", | |
"public_ip": "", | |
} | |
], | |
"tagged_instances": [ | |
{ | |
"private_dns_name": "", | |
"private_ip": "", | |
"public_dns_name": "", | |
"public_ip": "", | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment