Skip to content

Instantly share code, notes, and snippets.

@nicholaskuechler
Created January 9, 2015 02:23
Show Gist options
  • Save nicholaskuechler/d2562ef1c780cdeffe14 to your computer and use it in GitHub Desktop.
Save nicholaskuechler/d2562ef1c780cdeffe14 to your computer and use it in GitHub Desktop.
ansible playbook output - create cloud server and add dns entries - second run
PLAY [Create a Rackspace Cloud Server] ****************************************
TASK: [Rackspace cloud server build request] **********************************
ok: [localhost -> 127.0.0.1]
TASK: [Add new cloud server to host group] ************************************
ok: [localhost -> 127.0.0.1] => (item={u'status': u'ACTIVE', u'rax_name': u'admin.enhancedtest.net', u'rax_metadata': {}, u'rax_progress': 100, u'rax_os-dcf_diskconfig': u'MANUAL', u'rax_human_id': u'adminenhancedtestnet', u'rax_addresses': {u'public': [{u'version': 6, u'addr': u'2001:4800:7818:104:be76:4eff:fe05:3c58'}, {u'version': 4, u'addr': u'104.130.158.89'}], u'private': [{u'version': 4, u'addr': u'10.209.36.188'}]}, u'rax_image': {u'id': u'0766e5df-d60a-4100-ae8c-07f27ec0148f', u'links': [{u'href': u'https://dfw.servers.api.rackspacecloud.com/HIDDEN/images/0766e5df-d60a-4100-ae8c-07f27ec0148f', u'rel': u'bookmark'}]}, u'rax_user_id': u'HIDDEN', u'rax_links': [{u'href': u'https://dfw.servers.api.rackspacecloud.com/v2/HIDDEN/servers/02211dea-28a1-4df7-9281-06ccec470209', u'rel': u'self'}, {u'href': u'https://dfw.servers.api.rackspacecloud.com/HIDDEN/servers/02211dea-28a1-4df7-9281-06ccec470209', u'rel': u'bookmark'}], u'rax_updated': u'2015-01-04T16:24:39Z', u'rax_status': u'ACTIVE', u'rax_config_drive': u'', u'rax_accessipv4': u'104.130.158.89', u'rax_accessipv6': u'2001:4800:7818:104:be76:4eff:fe05:3c58', u'rax_networks': {u'public': [u'2001:4800:7818:104:be76:4eff:fe05:3c58', u'104.130.158.89'], u'private': [u'10.209.36.188']}, u'rax_os-ext-sts_task_state': None, u'rax_rax-public-ip-zone-id_publicipzoneid': u'53556fe18b49a99c03cb1278080e264d5b5170b6b30259af789ee490', u'name': u'admin.enhancedtest.net', u'rax_id': u'02211dea-28a1-4df7-9281-06ccec470209', u'rax_os-ext-sts_vm_state': u'active', u'rax_tenant_id': u'HIDDEN', u'rax_flavor': {u'id': u'performance1-1', u'links': [{u'href': u'https://dfw.servers.api.rackspacecloud.com/HIDDEN/flavors/performance1-1', u'rel': u'bookmark'}]}, u'id': u'02211dea-28a1-4df7-9281-06ccec470209', u'accessIPv4': u'104.130.158.89', u'rax_created': u'2015-01-04T16:24:07Z', u'rax_os-ext-sts_power_state': 1, u'rax_hostid': u'f244ee0409beac943da08f32e6e0f29e0c19a6e03caab180e78b6514', u'rax_name_attr': u'name', u'rax_key_name': None})
TASK: [Add new instance to host group] ****************************************
ok: [localhost -> 127.0.0.1] => (item={u'status': u'ACTIVE', u'rax_name': u'admin.enhancedtest.net', u'rax_metadata': {}, u'rax_progress': 100, u'rax_os-dcf_diskconfig': u'MANUAL', u'rax_human_id': u'adminenhancedtestnet', u'rax_addresses': {u'public': [{u'version': 6, u'addr': u'2001:4800:7818:104:be76:4eff:fe05:3c58'}, {u'version': 4, u'addr': u'104.130.158.89'}], u'private': [{u'version': 4, u'addr': u'10.209.36.188'}]}, u'rax_image': {u'id': u'0766e5df-d60a-4100-ae8c-07f27ec0148f', u'links': [{u'href': u'https://dfw.servers.api.rackspacecloud.com/HIDDEN/images/0766e5df-d60a-4100-ae8c-07f27ec0148f', u'rel': u'bookmark'}]}, u'rax_user_id': u'HIDDEN', u'rax_links': [{u'href': u'https://dfw.servers.api.rackspacecloud.com/v2/HIDDEN/servers/02211dea-28a1-4df7-9281-06ccec470209', u'rel': u'self'}, {u'href': u'https://dfw.servers.api.rackspacecloud.com/HIDDEN/servers/02211dea-28a1-4df7-9281-06ccec470209', u'rel': u'bookmark'}], u'rax_updated': u'2015-01-04T16:24:39Z', u'rax_status': u'ACTIVE', u'rax_config_drive': u'', u'rax_accessipv4': u'104.130.158.89', u'rax_accessipv6': u'2001:4800:7818:104:be76:4eff:fe05:3c58', u'rax_networks': {u'public': [u'2001:4800:7818:104:be76:4eff:fe05:3c58', u'104.130.158.89'], u'private': [u'10.209.36.188']}, u'rax_os-ext-sts_task_state': None, u'rax_rax-public-ip-zone-id_publicipzoneid': u'53556fe18b49a99c03cb1278080e264d5b5170b6b30259af789ee490', u'name': u'admin.enhancedtest.net', u'rax_id': u'02211dea-28a1-4df7-9281-06ccec470209', u'rax_os-ext-sts_vm_state': u'active', u'rax_tenant_id': u'HIDDEN', u'rax_flavor': {u'id': u'performance1-1', u'links': [{u'href': u'https://dfw.servers.api.rackspacecloud.com/HIDDEN/flavors/performance1-1', u'rel': u'bookmark'}]}, u'id': u'02211dea-28a1-4df7-9281-06ccec470209', u'accessIPv4': u'104.130.158.89', u'rax_created': u'2015-01-04T16:24:07Z', u'rax_os-ext-sts_power_state': 1, u'rax_hostid': u'f244ee0409beac943da08f32e6e0f29e0c19a6e03caab180e78b6514', u'rax_name_attr': u'name', u'rax_key_name': None})
TASK: [DNS - Domain create request] *******************************************
ok: [localhost -> 127.0.0.1]
TASK: [DNS - Create A record] *************************************************
ok: [localhost -> 127.0.0.1] => (item={u'status': u'ACTIVE', u'rax_name': u'admin.enhancedtest.net', u'rax_metadata': {}, u'rax_progress': 100, u'rax_os-dcf_diskconfig': u'MANUAL', u'rax_human_id': u'adminenhancedtestnet', u'rax_addresses': {u'public': [{u'version': 6, u'addr': u'2001:4800:7818:104:be76:4eff:fe05:3c58'}, {u'version': 4, u'addr': u'104.130.158.89'}], u'private': [{u'version': 4, u'addr': u'10.209.36.188'}]}, u'rax_image': {u'id': u'0766e5df-d60a-4100-ae8c-07f27ec0148f', u'links': [{u'href': u'https://dfw.servers.api.rackspacecloud.com/HIDDEN/images/0766e5df-d60a-4100-ae8c-07f27ec0148f', u'rel': u'bookmark'}]}, u'rax_user_id': u'HIDDEN', u'rax_links': [{u'href': u'https://dfw.servers.api.rackspacecloud.com/v2/HIDDEN/servers/02211dea-28a1-4df7-9281-06ccec470209', u'rel': u'self'}, {u'href': u'https://dfw.servers.api.rackspacecloud.com/HIDDEN/servers/02211dea-28a1-4df7-9281-06ccec470209', u'rel': u'bookmark'}], u'rax_updated': u'2015-01-04T16:24:39Z', u'rax_status': u'ACTIVE', u'rax_config_drive': u'', u'rax_accessipv4': u'104.130.158.89', u'rax_accessipv6': u'2001:4800:7818:104:be76:4eff:fe05:3c58', u'rax_networks': {u'public': [u'2001:4800:7818:104:be76:4eff:fe05:3c58', u'104.130.158.89'], u'private': [u'10.209.36.188']}, u'rax_os-ext-sts_task_state': None, u'rax_rax-public-ip-zone-id_publicipzoneid': u'53556fe18b49a99c03cb1278080e264d5b5170b6b30259af789ee490', u'name': u'admin.enhancedtest.net', u'rax_id': u'02211dea-28a1-4df7-9281-06ccec470209', u'rax_os-ext-sts_vm_state': u'active', u'rax_tenant_id': u'HIDDEN', u'rax_flavor': {u'id': u'performance1-1', u'links': [{u'href': u'https://dfw.servers.api.rackspacecloud.com/HIDDEN/flavors/performance1-1', u'rel': u'bookmark'}]}, u'id': u'02211dea-28a1-4df7-9281-06ccec470209', u'accessIPv4': u'104.130.158.89', u'rax_created': u'2015-01-04T16:24:07Z', u'rax_os-ext-sts_power_state': 1, u'rax_hostid': u'f244ee0409beac943da08f32e6e0f29e0c19a6e03caab180e78b6514', u'rax_name_attr': u'name', u'rax_key_name': None})
TASK: [DNS - Create PTR record] ***********************************************
ok: [localhost -> 127.0.0.1] => (item={u'status': u'ACTIVE', u'rax_name': u'admin.enhancedtest.net', u'rax_metadata': {}, u'rax_progress': 100, u'rax_os-dcf_diskconfig': u'MANUAL', u'rax_human_id': u'adminenhancedtestnet', u'rax_addresses': {u'public': [{u'version': 6, u'addr': u'2001:4800:7818:104:be76:4eff:fe05:3c58'}, {u'version': 4, u'addr': u'104.130.158.89'}], u'private': [{u'version': 4, u'addr': u'10.209.36.188'}]}, u'rax_image': {u'id': u'0766e5df-d60a-4100-ae8c-07f27ec0148f', u'links': [{u'href': u'https://dfw.servers.api.rackspacecloud.com/HIDDEN/images/0766e5df-d60a-4100-ae8c-07f27ec0148f', u'rel': u'bookmark'}]}, u'rax_user_id': u'HIDDEN', u'rax_links': [{u'href': u'https://dfw.servers.api.rackspacecloud.com/v2/HIDDEN/servers/02211dea-28a1-4df7-9281-06ccec470209', u'rel': u'self'}, {u'href': u'https://dfw.servers.api.rackspacecloud.com/HIDDEN/servers/02211dea-28a1-4df7-9281-06ccec470209', u'rel': u'bookmark'}], u'rax_updated': u'2015-01-04T16:24:39Z', u'rax_status': u'ACTIVE', u'rax_config_drive': u'', u'rax_accessipv4': u'104.130.158.89', u'rax_accessipv6': u'2001:4800:7818:104:be76:4eff:fe05:3c58', u'rax_networks': {u'public': [u'2001:4800:7818:104:be76:4eff:fe05:3c58', u'104.130.158.89'], u'private': [u'10.209.36.188']}, u'rax_os-ext-sts_task_state': None, u'rax_rax-public-ip-zone-id_publicipzoneid': u'53556fe18b49a99c03cb1278080e264d5b5170b6b30259af789ee490', u'name': u'admin.enhancedtest.net', u'rax_id': u'02211dea-28a1-4df7-9281-06ccec470209', u'rax_os-ext-sts_vm_state': u'active', u'rax_tenant_id': u'HIDDEN', u'rax_flavor': {u'id': u'performance1-1', u'links': [{u'href': u'https://dfw.servers.api.rackspacecloud.com/HIDDEN/flavors/performance1-1', u'rel': u'bookmark'}]}, u'id': u'02211dea-28a1-4df7-9281-06ccec470209', u'accessIPv4': u'104.130.158.89', u'rax_created': u'2015-01-04T16:24:07Z', u'rax_os-ext-sts_power_state': 1, u'rax_hostid': u'f244ee0409beac943da08f32e6e0f29e0c19a6e03caab180e78b6514', u'rax_name_attr': u'name', u'rax_key_name': None})
PLAY RECAP ********************************************************************
localhost : ok=6 changed=0 unreachable=0 failed=0
@nicholaskuechler
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment