Skip to content

Instantly share code, notes, and snippets.

@gaieges
Created February 24, 2016 02:31
Show Gist options
  • Save gaieges/a9689838ec1bfc795d0a to your computer and use it in GitHub Desktop.
Save gaieges/a9689838ec1bfc795d0a to your computer and use it in GitHub Desktop.
"webinstances": {
"changed": true,
"msg": "All items completed",
"results": [
{
"_ansible_no_log": false,
"changed": true,
"instance_ids": [
"i-039"
],
"instances": [
{
"ami_launch_index": "0",
"architecture": "x86_64",
"block_device_mapping": {
"/dev/sda1": {
"delete_on_termination": true,
"status": "attached",
"volume_id": "vol-75"
}
},
"dns_name": "",
"ebs_optimized": false,
"groups": {
"sg-0943a16d": "default"
},
"hypervisor": "xen",
"id": "i-039",
"image_id": "ami-93",
"instance_type": "t2.micro",
"kernel": null,
"launch_time": "2016-02-23T22:10:43.000Z",
"placement": "ap-southeast-2a",
"private_ip": "17.2.1.2",
"public_dns_name": "",
"public_ip": null,
"ramdisk": null,
"region": "ap-southeast-2",
"root_device_name": "/dev/sda1",
"root_device_type": "ebs",
"state": "running",
"state_code": 16,
"tags": {
"Consul": "follower",
},
"tenancy": "default",
"virtualization_type": "hvm"
}
],
"invocation": {
"module_args": {
"assign_public_ip": false,
"aws_access_key": null,
"aws_secret_key": null,
"count": 1,
"count_tag": null,
"ebs_optimized": false,
"ec2_url": null,
"exact_count": null,
"group": null,
"group_id": null,
"id": null,
"image": "ami-93",
"instance_ids": null,
"instance_profile_name": null,
"instance_tags": {
"Consul": "follower",
},
"instance_type": "t2.micro",
"kernel": null,
"monitoring": false,
"network_interfaces": null,
"placement_group": null,
"private_ip": null,
"profile": null,
"ramdisk": null,
"region": "ap-southeast-2",
"security_token": null,
"source_dest_check": true,
"spot_price": null,
"spot_type": "one-time",
"spot_wait_timeout": 600,
"state": "present",
"tenancy": "default",
"termination_protection": false,
"user_data": null,
"validate_certs": true,
"volumes": [
{
"delete_on_termination": true,
"device_name": "/dev/sda1",
"volume_size": 50,
"volume_type": "gp2"
}
],
"vpc_subnet_id": "subnet-e07",
"wait": true,
"wait_timeout": 300,
"zone": null
},
"module_name": "ec2"
},
"item": "subnet-e07",
"tagged_instances": []
},
{
"_ansible_no_log": false,
"changed": true,
"instance_ids": [
"i-0c"
],
"instances": [
{
"ami_launch_index": "0",
"architecture": "x86_64",
"block_device_mapping": {
"/dev/sda1": {
"delete_on_termination": true,
"status": "attached",
"volume_id": "vol-eb"
}
},
"dns_name": "",
"ebs_optimized": false,
"groups": {
"sg-0943a16d": "default"
},
"hypervisor": "xen",
"id": "i-0c",
"image_id": "ami-93",
"instance_type": "t2.micro",
"kernel": null,
"launch_time": "2016-02-23T22:11:22.000Z",
"placement": "ap-southeast-2b",
"private_ip": "17.2.2.2",
"public_dns_name": "",
"public_ip": null,
"ramdisk": null,
"region": "ap-southeast-2",
"root_device_name": "/dev/sda1",
"root_device_type": "ebs",
"state": "running",
"state_code": 16,
"tags": {
"Consul": "follower",
},
"tenancy": "default",
"virtualization_type": "hvm"
}
],
"invocation": {
"module_args": {
"assign_public_ip": false,
"aws_access_key": null,
"aws_secret_key": null,
"count": 1,
"count_tag": null,
"ebs_optimized": false,
"ec2_url": null,
"exact_count": null,
"group": null,
"group_id": null,
"id": null,
"image": "ami-93",
"instance_ids": null,
"instance_profile_name": null,
"instance_tags": {
"Consul": "follower",
},
"instance_type": "t2.micro",
"kernel": null,
"monitoring": false,
"network_interfaces": null,
"placement_group": null,
"private_ip": null,
"profile": null,
"ramdisk": null,
"region": "ap-southeast-2",
"security_token": null,
"source_dest_check": true,
"spot_price": null,
"spot_type": "one-time",
"spot_wait_timeout": 600,
"state": "present",
"tenancy": "default",
"termination_protection": false,
"user_data": null,
"validate_certs": true,
"volumes": [
{
"delete_on_termination": true,
"device_name": "/dev/sda1",
"volume_size": 50,
"volume_type": "gp2"
}
],
"vpc_subnet_id": "subnet-5eb",
"wait": true,
"wait_timeout": 300,
"zone": null
},
"module_name": "ec2"
},
"item": "subnet-5e1",
"tagged_instances": []
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment