i also registered ec2_info as a var just to play around and it has the same results but it does display: *sorry for the long output*
ok: [aaa-frs-ans-test3] => {
"ec2_info": {
"changed": true,
"instance_ids": [
"i-790418fe"
],
"instances": [
{
"ami_launch_index": "0",
"architecture": "x86_64",
"block_device_mapping": {
"/dev/sda1": {
"delete_on_termination": true,
"status": "attached",
"volume_id": "vol-0c034fa7"
}
},
"dns_name": "",
"ebs_optimized": false,
"groups": {
"sg-7c538d04": "fsr-allow-all"
},
"hypervisor": "xen",
"id": "i-790418fe",
"image_id": "ami-3683605b",
"instance_type": "t2.micro",
"kernel": null,
"key_name": "FSR_DEV_QA_KEYPAIR",
"launch_time": "2016-05-24T18:13:10.000Z",
"placement": "us-east-1a",
"private_dns_name": "ip-10-196-135-193.ec2.internal",
"private_ip": "10.196.135.193",
"public_dns_name": "",
"public_ip": null,
"ramdisk": null,
"region": "us-east-1",
"root_device_name": "/dev/sda1",
"root_device_type": "ebs",
"state": "running",
"state_code": 16,
"tags": {
"Env": "Dev",
"Name": "aaa-fsr-ans-test2"
},
"tenancy": "default",
"virtualization_type": "hvm"
}
],
"tagged_instances": []
}
}
for each of the hosts, meaning 3 hosts.