Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PLAY [aws-webservers] *********************************************************
- TASK: [Provision test t2 micro instance] **************************************
- changed: [ibu-test-web-01-a]
- changed: [ibu-test-web-01-b]
- changed: [ibu-test-web-01-c]
- TASK: [Add all instance public IPs to host group] *****************************
- ok: [ibu-test-web-01-a] => (item={'ramdisk': None, 'kernel': None, 'root_device_type': 'ebs', 'private_dns_name': 'ip-172-0-1-38.eu-west-1.compute.internal', 'tags': {}, 'key_name': 'access', 'public_ip': '52.17.156.227', 'image_id': 'ami-30ff5c47', 'tenancy': 'default', 'private_ip': '172.0.1.38', 'groups': {'sg-d9cd87bc': 'webserver'}, 'public_dns_name': 'ec2-52-17-156-227.eu-west-1.compute.amazonaws.com', 'state_code': 16, 'id': 'i-61381e87', 'placement': 'eu-west-1a', 'ami_launch_index': '0', 'dns_name': 'ec2-52-17-156-227.eu-west-1.compute.amazonaws.com', 'region': 'eu-west-1', 'ebs_optimized': False, 'launch_time': '2015-04-23T22:06:24.000Z', 'instance_type': 't2.micro', 'state': 'running', 'root_device_name': '/dev/sda1', 'hypervisor': 'xen', 'virtualization_type': 'hvm', 'architecture': 'x86_64'})
- TASK: [Wait for SSH to come up] ***********************************************
- ok: [ibu-test-web-01-b] => (item={'ramdisk': None, 'kernel': None, 'root_device_type': 'ebs', 'private_dns_name': 'ip-172-0-2-103.eu-west-1.compute.internal', 'tags': {}, 'key_name': 'access', 'public_ip': '52.17.194.192', 'image_id': 'ami-30ff5c47', 'tenancy': 'default', 'private_ip': '172.0.2.103', 'groups': {'sg-d9cd87bc': 'webserver'}, 'public_dns_name': 'ec2-52-17-194-192.eu-west-1.compute.amazonaws.com', 'state_code': 16, 'id': 'i-86edc262', 'placement': 'eu-west-1b', 'ami_launch_index': '0', 'dns_name': 'ec2-52-17-194-192.eu-west-1.compute.amazonaws.com', 'region': 'eu-west-1', 'ebs_optimized': False, 'launch_time': '2015-04-23T22:06:24.000Z', 'instance_type': 't2.micro', 'state': 'running', 'root_device_name': '/dev/sda1', 'hypervisor': 'xen', 'virtualization_type': 'hvm', 'architecture': 'x86_64'})
- ok: [ibu-test-web-01-a] => (item={'ramdisk': None, 'kernel': None, 'root_device_type': 'ebs', 'private_dns_name': 'ip-172-0-1-38.eu-west-1.compute.internal', 'tags': {}, 'key_name': 'access', 'public_ip': '52.17.156.227', 'image_id': 'ami-30ff5c47', 'tenancy': 'default', 'private_ip': '172.0.1.38', 'groups': {'sg-d9cd87bc': 'webserver'}, 'public_dns_name': 'ec2-52-17-156-227.eu-west-1.compute.amazonaws.com', 'state_code': 16, 'id': 'i-61381e87', 'placement': 'eu-west-1a', 'ami_launch_index': '0', 'dns_name': 'ec2-52-17-156-227.eu-west-1.compute.amazonaws.com', 'region': 'eu-west-1', 'ebs_optimized': False, 'launch_time': '2015-04-23T22:06:24.000Z', 'instance_type': 't2.micro', 'state': 'running', 'root_device_name': '/dev/sda1', 'hypervisor': 'xen', 'virtualization_type': 'hvm', 'architecture': 'x86_64'})
- ok: [ibu-test-web-01-c] => (item={'ramdisk': None, 'kernel': None, 'root_device_type': 'ebs', 'private_dns_name': 'ip-172-0-3-129.eu-west-1.compute.internal', 'tags': {}, 'key_name': 'access', 'public_ip': '52.17.95.145', 'image_id': 'ami-30ff5c47', 'tenancy': 'default', 'private_ip': '172.0.3.129', 'groups': {'sg-d9cd87bc': 'webserver'}, 'public_dns_name': 'ec2-52-17-95-145.eu-west-1.compute.amazonaws.com', 'state_code': 16, 'id': 'i-36dcf5d1', 'placement': 'eu-west-1c', 'ami_launch_index': '0', 'dns_name': 'ec2-52-17-95-145.eu-west-1.compute.amazonaws.com', 'region': 'eu-west-1', 'ebs_optimized': False, 'launch_time': '2015-04-23T22:06:24.000Z', 'instance_type': 't2.micro', 'state': 'running', 'root_device_name': '/dev/sda1', 'hypervisor': 'xen', 'virtualization_type': 'hvm', 'architecture': 'x86_64'})
- PLAY [aws_webservers] *********************************************************
- GATHERING FACTS ***************************************************************
- ok: [52.17.156.227]
- TASK: [configure and deploy the webservers] ***********************************
- changed: [52.17.156.227] => (item=httpd,php,python)
- TASK: [service name=httpd state=started] **************************************
- changed: [52.17.156.227]
- PLAY RECAP ********************************************************************
- 52.17.156.227 : ok=3 changed=2 unreachable=0 failed=0
- ibu-test-web-01-a : ok=3 changed=1 unreachable=0 failed=0
- ibu-test-web-01-b : ok=3 changed=1 unreachable=0 failed=0
- ibu-test-web-01-c : ok=3 changed=1 unreachable=0 failed=0
Advertisement
Add Comment
Please, Sign In to add comment