Skip to content

Instantly share code, notes, and snippets.

@fintanr
Created March 13, 2015 10:14
Show Gist options
  • Save fintanr/4d6bb5bbc92f4b1197a5 to your computer and use it in GitHub Desktop.
Save fintanr/4d6bb5bbc92f4b1197a5 to your computer and use it in GitHub Desktop.
Weave on AWS with Ansible Playbook Output
PLAY [Weave on AWS with Ansible Setup] ****************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
TASK: [common | Create EC2 SSH Key] *******************************************
ok: [localhost]
TASK: [common | copy content="{{ ec2key.key.private_key }}" dest="~/.ssh/id_rsa_{{ ssh_key }}"] ***
skipping: [localhost]
TASK: [common | file path="~/.ssh/id_rsa_{{ ssh_key }}" mode=0600] ************
skipping: [localhost]
TASK: [ubuntuinstall | Create Weave Security Group] ***************************
ok: [localhost]
TASK: [ubuntuinstall | Start Ubuntu Instances] ********************************
changed: [localhost]
TASK: [ubuntuinstall | Add new instance to host group] ************************
ok: [localhost] => (item={u'ramdisk': None, u'kernel': u'aki-52a34525', u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-31-46-106.eu-west-1.compute.internal', u'key_name': u'weavedemo', u'public_ip': u'52.16.171.126', u'image_id': u'ami-799e100e', u'private_ip': u'172.31.46.106', u'public_dns_name': u'ec2-52-16-171-126.eu-west-1.compute.amazonaws.com', u'state_code': 16, u'id': u'i-ef680808', u'placement': u'eu-west-1c', u'ami_launch_index': u'0', u'dns_name': u'ec2-52-16-171-126.eu-west-1.compute.amazonaws.com', u'region': u'eu-west-1', u'ebs_optimized': False, u'launch_time': u'2015-03-13T10:05:19.000Z', u'instance_type': u'm1.small', u'state': u'running', u'root_device_name': u'/dev/sda1', u'hypervisor': u'xen', u'virtualization_type': u'paravirtual', u'architecture': u'x86_64'})
ok: [localhost] => (item={u'ramdisk': None, u'kernel': u'aki-52a34525', u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-31-46-105.eu-west-1.compute.internal', u'key_name': u'weavedemo', u'public_ip': u'52.16.119.43', u'image_id': u'ami-799e100e', u'private_ip': u'172.31.46.105', u'public_dns_name': u'ec2-52-16-119-43.eu-west-1.compute.amazonaws.com', u'state_code': 16, u'id': u'i-ee680809', u'placement': u'eu-west-1c', u'ami_launch_index': u'1', u'dns_name': u'ec2-52-16-119-43.eu-west-1.compute.amazonaws.com', u'region': u'eu-west-1', u'ebs_optimized': False, u'launch_time': u'2015-03-13T10:05:19.000Z', u'instance_type': u'm1.small', u'state': u'running', u'root_device_name': u'/dev/sda1', u'hypervisor': u'xen', u'virtualization_type': u'paravirtual', u'architecture': u'x86_64'})
TASK: [ubuntuinstall | Wait for SSH to come up] *******************************
ok: [localhost] => (item={u'ramdisk': None, u'kernel': u'aki-52a34525', u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-31-46-106.eu-west-1.compute.internal', u'key_name': u'weavedemo', u'public_ip': u'52.16.171.126', u'image_id': u'ami-799e100e', u'private_ip': u'172.31.46.106', u'public_dns_name': u'ec2-52-16-171-126.eu-west-1.compute.amazonaws.com', u'state_code': 16, u'id': u'i-ef680808', u'placement': u'eu-west-1c', u'ami_launch_index': u'0', u'dns_name': u'ec2-52-16-171-126.eu-west-1.compute.amazonaws.com', u'region': u'eu-west-1', u'ebs_optimized': False, u'launch_time': u'2015-03-13T10:05:19.000Z', u'instance_type': u'm1.small', u'state': u'running', u'root_device_name': u'/dev/sda1', u'hypervisor': u'xen', u'virtualization_type': u'paravirtual', u'architecture': u'x86_64'})
ok: [localhost] => (item={u'ramdisk': None, u'kernel': u'aki-52a34525', u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-31-46-105.eu-west-1.compute.internal', u'key_name': u'weavedemo', u'public_ip': u'52.16.119.43', u'image_id': u'ami-799e100e', u'private_ip': u'172.31.46.105', u'public_dns_name': u'ec2-52-16-119-43.eu-west-1.compute.amazonaws.com', u'state_code': 16, u'id': u'i-ee680809', u'placement': u'eu-west-1c', u'ami_launch_index': u'1', u'dns_name': u'ec2-52-16-119-43.eu-west-1.compute.amazonaws.com', u'region': u'eu-west-1', u'ebs_optimized': False, u'launch_time': u'2015-03-13T10:05:19.000Z', u'instance_type': u'm1.small', u'state': u'running', u'root_device_name': u'/dev/sda1', u'hypervisor': u'xen', u'virtualization_type': u'paravirtual', u'architecture': u'x86_64'})
TASK: [ubuntuinstall | Create inventory file] *********************************
changed: [localhost]
TASK: [Add new instance to host group] ****************************************
ok: [localhost] => (item={u'ramdisk': None, u'kernel': u'aki-52a34525', u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-31-46-106.eu-west-1.compute.internal', u'key_name': u'weavedemo', u'public_ip': u'52.16.171.126', u'image_id': u'ami-799e100e', u'private_ip': u'172.31.46.106', u'public_dns_name': u'ec2-52-16-171-126.eu-west-1.compute.amazonaws.com', u'state_code': 16, u'id': u'i-ef680808', u'placement': u'eu-west-1c', u'ami_launch_index': u'0', u'dns_name': u'ec2-52-16-171-126.eu-west-1.compute.amazonaws.com', u'region': u'eu-west-1', u'ebs_optimized': False, u'launch_time': u'2015-03-13T10:05:19.000Z', u'instance_type': u'm1.small', u'state': u'running', u'root_device_name': u'/dev/sda1', u'hypervisor': u'xen', u'virtualization_type': u'paravirtual', u'architecture': u'x86_64'})
ok: [localhost] => (item={u'ramdisk': None, u'kernel': u'aki-52a34525', u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-31-46-105.eu-west-1.compute.internal', u'key_name': u'weavedemo', u'public_ip': u'52.16.119.43', u'image_id': u'ami-799e100e', u'private_ip': u'172.31.46.105', u'public_dns_name': u'ec2-52-16-119-43.eu-west-1.compute.amazonaws.com', u'state_code': 16, u'id': u'i-ee680809', u'placement': u'eu-west-1c', u'ami_launch_index': u'1', u'dns_name': u'ec2-52-16-119-43.eu-west-1.compute.amazonaws.com', u'region': u'eu-west-1', u'ebs_optimized': False, u'launch_time': u'2015-03-13T10:05:19.000Z', u'instance_type': u'm1.small', u'state': u'running', u'root_device_name': u'/dev/sda1', u'hypervisor': u'xen', u'virtualization_type': u'paravirtual', u'architecture': u'x86_64'})
PLAY [Install Weave and Docker on Hosts] **************************************
GATHERING FACTS ***************************************************************
ok: [52.16.119.43]
ok: [52.16.171.126]
TASK: [dockerinstall | Update Ubuntu Image] ***********************************
ok: [52.16.171.126]
ok: [52.16.119.43]
TASK: [dockerinstall | Add Docker Repository] *********************************
changed: [52.16.119.43]
changed: [52.16.171.126]
TASK: [dockerinstall | Add Docker Repository Key] *****************************
changed: [52.16.171.126]
changed: [52.16.119.43]
TASK: [dockerinstall | Install Docker Package] ********************************
changed: [52.16.119.43]
changed: [52.16.171.126]
TASK: [dockerinstall | Launch Docker Service] *********************************
ok: [52.16.119.43]
ok: [52.16.171.126]
TASK: [weaveinstall | Download and Install Weave] *****************************
changed: [52.16.119.43]
changed: [52.16.171.126]
TASK: [weaveinstall | Setup Weave Permissions] ********************************
changed: [52.16.119.43]
changed: [52.16.171.126]
TASK: [weaveinstall | Download Weave Containers] ******************************
changed: [52.16.171.126]
changed: [52.16.119.43]
PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/fintanr/setup-weave-ubunu-aws.retry
52.16.119.43 : ok=9 changed=6 unreachable=0 failed=0
52.16.171.126 : ok=9 changed=6 unreachable=0 failed=0
localhost : ok=8 changed=2 unreachable=0 failed=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment