Create a gist now

Instantly share code, notes, and snippets.

Output from ansible playbook to build a Rackspace Cloud Server
(rackspace)nick@mbp: ~/ansible-rackspace-servers$ ansible-playbook -i virtualenv-inventory.yml build-cloud-server.yml -vvvv
PLAY [Create a Rackspace Cloud Server] ****************************************
TASK: [Rackspace cloud server build request] **********************************
<127.0.0.1> REMOTE_MODULE rax flavor=performance1-1 credentials=/Users/nick/.rackspace_cloud_credentials image=0766e5df-d60a-4100-ae8c-07f27ec0148f state=present region=DFW name=admin.enhancedtest.net
<127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1420388644.87-43356630392997 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1420388644.87-43356630392997 && echo $HOME/.ansible/tmp/ansible-tmp-1420388644.87-43356630392997']
<127.0.0.1> PUT /var/folders/rk/mr3kdp7s0xndgkd8p20_wdkc0000gn/T/tmpXID16W TO /Users/nick/.ansible/tmp/ansible-tmp-1420388644.87-43356630392997/rax
<127.0.0.1> EXEC ['/bin/sh', '-c', u'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /Users/nick/virtualenvs/rackspace/bin/python /Users/nick/.ansible/tmp/ansible-tmp-1420388644.87-43356630392997/rax; rm -rf /Users/nick/.ansible/tmp/ansible-tmp-1420388644.87-43356630392997/ >/dev/null 2>&1']
changed: [localhost -> 127.0.0.1] => {"action": "create", "changed": true, "error": [], "instance_ids": {"error": [], "instances": ["02211dea-28a1-4df7-9281-06ccec470209"], "success": ["02211dea-28a1-4df7-9281-06ccec470209"], "timeout": []}, "instances": [{"accessIPv4": "104.130.158.89", "id": "02211dea-28a1-4df7-9281-06ccec470209", "name": "admin.enhancedtest.net", "rax_accessipv4": "104.130.158.89", "rax_accessipv6": "2001:4800:7818:104:be76:4eff:fe05:3c58", "rax_addresses": {"private": [{"addr": "10.209.36.188", "version": 4}], "public": [{"addr": "2001:4800:7818:104:be76:4eff:fe05:3c58", "version": 6}, {"addr": "104.130.158.89", "version": 4}]}, "rax_adminpass": "HIDDEN", "rax_config_drive": "", "rax_created": "2015-01-04T16:24:07Z", "rax_flavor": {"id": "performance1-1", "links": [{"href": "https://dfw.servers.api.rackspacecloud.com/HIDDEN/flavors/performance1-1", "rel": "bookmark"}]}, "rax_hostid": "f244ee0409beac943da08f32e6e0f29e0c19a6e03caab180e78b6514", "rax_human_id": "adminenhancedtestnet", "rax_id": "02211dea-28a1-4df7-9281-06ccec470209", "rax_image": {"id": "0766e5df-d60a-4100-ae8c-07f27ec0148f", "links": [{"href": "https://dfw.servers.api.rackspacecloud.com/HIDDEN/images/0766e5df-d60a-4100-ae8c-07f27ec0148f", "rel": "bookmark"}]}, "rax_key_name": null, "rax_links": [{"href": "https://dfw.servers.api.rackspacecloud.com/v2/HIDDEN/servers/02211dea-28a1-4df7-9281-06ccec470209", "rel": "self"}, {"href": "https://dfw.servers.api.rackspacecloud.com/HIDDEN/servers/02211dea-28a1-4df7-9281-06ccec470209", "rel": "bookmark"}], "rax_metadata": {}, "rax_name": "admin.enhancedtest.net", "rax_name_attr": "name", "rax_networks": {"private": ["10.209.36.188"], "public": ["2001:4800:7818:104:be76:4eff:fe05:3c58", "104.130.158.89"]}, "rax_os-dcf_diskconfig": "MANUAL", "rax_os-ext-sts_power_state": 1, "rax_os-ext-sts_task_state": null, "rax_os-ext-sts_vm_state": "active", "rax_progress": 100, "rax_rax-public-ip-zone-id_publicipzoneid": "53556fe18b49a99c03cb1278080e264d5b5170b6b30259af789ee490", "rax_status": "ACTIVE", "rax_tenant_id": "HIDDEN", "rax_updated": "2015-01-04T16:24:39Z", "rax_user_id": "HIDDEN", "status": "ACTIVE"}], "success": [{"accessIPv4": "104.130.158.89", "id": "02211dea-28a1-4df7-9281-06ccec470209", "name": "admin.enhancedtest.net", "rax_accessipv4": "104.130.158.89", "rax_accessipv6": "2001:4800:7818:104:be76:4eff:fe05:3c58", "rax_addresses": {"private": [{"addr": "10.209.36.188", "version": 4}], "public": [{"addr": "2001:4800:7818:104:be76:4eff:fe05:3c58", "version": 6}, {"addr": "104.130.158.89", "version": 4}]}, "rax_adminpass": "HIDDEN", "rax_config_drive": "", "rax_created": "2015-01-04T16:24:07Z", "rax_flavor": {"id": "performance1-1", "links": [{"href": "https://dfw.servers.api.rackspacecloud.com/HIDDEN/flavors/performance1-1", "rel": "bookmark"}]}, "rax_hostid": "f244ee0409beac943da08f32e6e0f29e0c19a6e03caab180e78b6514", "rax_human_id": "adminenhancedtestnet", "rax_id": "02211dea-28a1-4df7-9281-06ccec470209", "rax_image": {"id": "0766e5df-d60a-4100-ae8c-07f27ec0148f", "links": [{"href": "https://dfw.servers.api.rackspacecloud.com/HIDDEN/images/0766e5df-d60a-4100-ae8c-07f27ec0148f", "rel": "bookmark"}]}, "rax_key_name": null, "rax_links": [{"href": "https://dfw.servers.api.rackspacecloud.com/v2/HIDDEN/servers/02211dea-28a1-4df7-9281-06ccec470209", "rel": "self"}, {"href": "https://dfw.servers.api.rackspacecloud.com/HIDDEN/servers/02211dea-28a1-4df7-9281-06ccec470209", "rel": "bookmark"}], "rax_metadata": {}, "rax_name": "admin.enhancedtest.net", "rax_name_attr": "name", "rax_networks": {"private": ["10.209.36.188"], "public": ["2001:4800:7818:104:be76:4eff:fe05:3c58", "104.130.158.89"]}, "rax_os-dcf_diskconfig": "MANUAL", "rax_os-ext-sts_power_state": 1, "rax_os-ext-sts_task_state": null, "rax_os-ext-sts_vm_state": "active", "rax_progress": 100, "rax_rax-public-ip-zone-id_publicipzoneid": "53556fe18b49a99c03cb1278080e264d5b5170b6b30259af789ee490", "rax_status": "ACTIVE", "rax_tenant_id": "HIDDEN", "rax_updated": "2015-01-04T16:24:39Z", "rax_user_id": "HIDDEN", "status": "ACTIVE"}], "timeout": []}
PLAY RECAP ********************************************************************
localhost : ok=1 changed=1 unreachable=0 failed=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment