Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clouds.yaml:
- clouds:
- trystack:
- auth:
- auth_url: http://8.43.86.2:5000/v2.0
- project_name: facebook1403083039721881
- tenant_id: a7c353675ba941d7ac1bfe12aecdf499
- tenant_name: facebook1403083039721881
- username: facebook1403083039721881
- password: **************
- region_name: RegionOne
- ansible.cfg:
- [defaults]
- #Enable timing on tasks
- #callback_whitelist = profile_tasks
- hosts file:
- [openstack_controller]
- localhost
- #Environment vars
- cloud_provider_1=trystack
- site.yml:
- #Master Playbook
- #Setup cloud playbook wide
- - hosts: openstack_controller
- connection: local
- #vars to be used over all playbooks
- vars_files:
- - group_vars/clouds
- #Roles for this playbook
- roles:
- - CreatePrivateNetwork
- - CreateKeyPair
- - CreateServers
- CreatePrivateNetwork:
- #Create a private network
- - name: Create a Private Network
- os_network:
- cloud: "{{ cloud_provider_1 }}"
- state: present
- name: private development
- external: false
- #Add a subnet to the private network
- - name: Add a subnet
- os_subnet:
- cloud: "{{ cloud_provider_1 }}"
- state: present
- name: private development subnet 1
- network_name: private development
- ip_version: 4
- cidr: 192.168.1.0/24
- dns_nameservers:
- - 8.8.8.8
- - 4.4.8.8
- enable_dhcp: true
- allocation_pool_start: 192.168.1.100
- allocation_pool_end: 192.168.1.200
- CreateKeyPair:
- #Create a Keypair with a given public key
- - os_keypair:
- cloud: "{{ cloud_provider_1 }}"
- state: present
- name: development_key
- public_key_file: /Users/wowbagger/Development/Ansible/Projects/TestRun1/roles/CreateKeyPair/files/id_rsa.pub
- CreateServers:
- #Create an server instance on Openstack
- #Get image facts
- - name: Get the ID for the Cirros image
- os_image_facts:
- cloud: "{{ cloud_provider_1 }}"
- image: Cirros-0.3.4
- #- debug: var=openstack_image
- #Get network facts
- - name: Get network facts
- os_networks_facts:
- cloud: "{{ cloud_provider_1 }}"
- name: private
- #- debug: var=openstack_networks
- #Get subnet facts
- - name: Get subnet facts
- os_subnets_facts:
- cloud: "{{ cloud_provider_1 }}"
- name: private subnet
- #- debug: var=openstack_subnets
- #Create the instance
- - name: Create a Cirros Server instance
- os_server:
- cloud: "{{ cloud_provider_1 }}"
- state: present
- name: server1
- # image: openstack_image.id
- image: 672153ff-5266-43f0-9ac4-dda73a179a66
- key_name: development_key
- timeout: 30000
- wait: no
- flavor: 1
- auto_ip: no
- Executed with:
- ansible-playbook -i hosts site.yml -v -v -v
- Full output:
- $ ansible-playbook -i hosts site.yml -v -v -v
- Using /Users/wowbagger/Development/Ansible/Projects/TestRun1/ansible.cfg as config file
- PLAYBOOK: site.yml *************************************************************
- 1 plays in site.yml
- PLAY [openstack_controller] ****************************************************
- TASK [setup] *******************************************************************
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/system/setup.py
- <localhost> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553323.94-153369781539121 `" && echo ansible-tmp-1478553323.94-153369781539121="` echo $HOME/.ansible/tmp/ansible-tmp-1478553323.94-153369781539121 `" ) && sleep 0'
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/system/setup.py
- <cloud_provider_1=trystack> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <cloud_provider_1=trystack> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553323.94-17880223772481 `" && echo ansible-tmp-1478553323.94-17880223772481="` echo $HOME/.ansible/tmp/ansible-tmp-1478553323.94-17880223772481 `" ) && sleep 0'
- <cloud_provider_1=trystack> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmpilYxQt TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553323.94-17880223772481/setup.py
- <localhost> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmpSFNrVR TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553323.94-153369781539121/setup.py
- <cloud_provider_1=trystack> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553323.94-17880223772481/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553323.94-17880223772481/setup.py && sleep 0'
- <localhost> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553323.94-153369781539121/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553323.94-153369781539121/setup.py && sleep 0'
- <cloud_provider_1=trystack> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553323.94-17880223772481/setup.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553323.94-17880223772481/" > /dev/null 2>&1 && sleep 0'
- <localhost> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553323.94-153369781539121/setup.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553323.94-153369781539121/" > /dev/null 2>&1 && sleep 0'
- ok: [cloud_provider_1=trystack]
- ok: [localhost]
- TASK [CreatePrivateNetwork : Create a Private Network] *************************
- task path: /Users/wowbagger/Development/Ansible/Projects/TestRun1/roles/CreatePrivateNetwork/tasks/main.yml:2
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_network.py
- <cloud_provider_1=trystack> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <cloud_provider_1=trystack> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553325.27-61634662010571 `" && echo ansible-tmp-1478553325.27-61634662010571="` echo $HOME/.ansible/tmp/ansible-tmp-1478553325.27-61634662010571 `" ) && sleep 0'
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_network.py
- <localhost> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553325.27-54352702837400 `" && echo ansible-tmp-1478553325.27-54352702837400="` echo $HOME/.ansible/tmp/ansible-tmp-1478553325.27-54352702837400 `" ) && sleep 0'
- <cloud_provider_1=trystack> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmpyMSmo3 TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553325.27-61634662010571/os_network.py
- <localhost> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmp5LFzGi TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553325.27-54352702837400/os_network.py
- <cloud_provider_1=trystack> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553325.27-61634662010571/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553325.27-61634662010571/os_network.py && sleep 0'
- <localhost> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553325.27-54352702837400/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553325.27-54352702837400/os_network.py && sleep 0'
- <localhost> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553325.27-54352702837400/os_network.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553325.27-54352702837400/" > /dev/null 2>&1 && sleep 0'
- <cloud_provider_1=trystack> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553325.27-61634662010571/os_network.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553325.27-61634662010571/" > /dev/null 2>&1 && sleep 0'
- ok: [cloud_provider_1=trystack] => {
- "changed": false,
- "id": "3522192b-f24d-41ce-bce0-81c5ffdabf68",
- "invocation": {
- "module_args": {
- "admin_state_up": true,
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "availability_zone": null,
- "cacert": null,
- "cert": null,
- "cloud": "trystack",
- "endpoint_type": "public",
- "external": false,
- "key": null,
- "name": "private development",
- "provider_network_type": null,
- "provider_physical_network": null,
- "provider_segmentation_id": null,
- "region_name": null,
- "shared": false,
- "state": "present",
- "timeout": 180,
- "verify": true,
- "wait": true
- },
- "module_name": "os_network"
- },
- "network": {
- "admin_state_up": true,
- "id": "3522192b-f24d-41ce-bce0-81c5ffdabf68",
- "mtu": 0,
- "name": "private development",
- "router:external": false,
- "shared": false,
- "status": "ACTIVE",
- "subnets": [
- "55e98fc1-272a-41d7-9660-1b2606d00473"
- ],
- "tenant_id": "a7c353675ba941d7ac1bfe12aecdf499"
- }
- }
- ok: [localhost] => {
- "changed": false,
- "id": "3522192b-f24d-41ce-bce0-81c5ffdabf68",
- "invocation": {
- "module_args": {
- "admin_state_up": true,
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "availability_zone": null,
- "cacert": null,
- "cert": null,
- "cloud": "trystack",
- "endpoint_type": "public",
- "external": false,
- "key": null,
- "name": "private development",
- "provider_network_type": null,
- "provider_physical_network": null,
- "provider_segmentation_id": null,
- "region_name": null,
- "shared": false,
- "state": "present",
- "timeout": 180,
- "verify": true,
- "wait": true
- },
- "module_name": "os_network"
- },
- "network": {
- "admin_state_up": true,
- "id": "3522192b-f24d-41ce-bce0-81c5ffdabf68",
- "mtu": 0,
- "name": "private development",
- "router:external": false,
- "shared": false,
- "status": "ACTIVE",
- "subnets": [
- "55e98fc1-272a-41d7-9660-1b2606d00473"
- ],
- "tenant_id": "a7c353675ba941d7ac1bfe12aecdf499"
- }
- }
- TASK [CreatePrivateNetwork : Add a subnet] *************************************
- task path: /Users/wowbagger/Development/Ansible/Projects/TestRun1/roles/CreatePrivateNetwork/tasks/main.yml:10
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_subnet.py
- <cloud_provider_1=trystack> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <cloud_provider_1=trystack> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553332.06-238000899748035 `" && echo ansible-tmp-1478553332.06-238000899748035="` echo $HOME/.ansible/tmp/ansible-tmp-1478553332.06-238000899748035 `" ) && sleep 0'
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_subnet.py
- <localhost> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553332.07-121428827246294 `" && echo ansible-tmp-1478553332.07-121428827246294="` echo $HOME/.ansible/tmp/ansible-tmp-1478553332.07-121428827246294 `" ) && sleep 0'
- <localhost> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmpXFTBfQ TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553332.07-121428827246294/os_subnet.py
- <cloud_provider_1=trystack> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmp1BfDnj TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553332.06-238000899748035/os_subnet.py
- <cloud_provider_1=trystack> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553332.06-238000899748035/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553332.06-238000899748035/os_subnet.py && sleep 0'
- <localhost> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553332.07-121428827246294/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553332.07-121428827246294/os_subnet.py && sleep 0'
- <localhost> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553332.07-121428827246294/os_subnet.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553332.07-121428827246294/" > /dev/null 2>&1 && sleep 0'
- <cloud_provider_1=trystack> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553332.06-238000899748035/os_subnet.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553332.06-238000899748035/" > /dev/null 2>&1 && sleep 0'
- ok: [cloud_provider_1=trystack] => {
- "changed": false,
- "id": "55e98fc1-272a-41d7-9660-1b2606d00473",
- "invocation": {
- "module_args": {
- "allocation_pool_end": "192.168.1.200",
- "allocation_pool_start": "192.168.1.100",
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "availability_zone": null,
- "cacert": null,
- "cert": null,
- "cidr": "192.168.1.0/24",
- "cloud": "trystack",
- "dns_nameservers": [
- "8.8.8.8",
- "4.4.8.8"
- ],
- "enable_dhcp": true,
- "endpoint_type": "public",
- "gateway_ip": null,
- "host_routes": null,
- "ip_version": "4",
- "ipv6_address_mode": null,
- "ipv6_ra_mode": null,
- "key": null,
- "name": "private development subnet 1",
- "network_name": "private development",
- "no_gateway_ip": false,
- "region_name": null,
- "state": "present",
- "timeout": 180,
- "verify": true,
- "wait": true
- },
- "module_name": "os_subnet"
- },
- "subnet": {
- "allocation_pools": [
- {
- "end": "192.168.1.200",
- "start": "192.168.1.100"
- }
- ],
- "cidr": "192.168.1.0/24",
- "dns_nameservers": [
- "8.8.8.8",
- "4.4.8.8"
- ],
- "enable_dhcp": true,
- "gateway_ip": "192.168.1.1",
- "host_routes": [],
- "id": "55e98fc1-272a-41d7-9660-1b2606d00473",
- "ip_version": 4,
- "ipv6_address_mode": null,
- "ipv6_ra_mode": null,
- "name": "private development subnet 1",
- "network_id": "3522192b-f24d-41ce-bce0-81c5ffdabf68",
- "subnetpool_id": null,
- "tenant_id": "a7c353675ba941d7ac1bfe12aecdf499"
- }
- }
- ok: [localhost] => {
- "changed": false,
- "id": "55e98fc1-272a-41d7-9660-1b2606d00473",
- "invocation": {
- "module_args": {
- "allocation_pool_end": "192.168.1.200",
- "allocation_pool_start": "192.168.1.100",
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "availability_zone": null,
- "cacert": null,
- "cert": null,
- "cidr": "192.168.1.0/24",
- "cloud": "trystack",
- "dns_nameservers": [
- "8.8.8.8",
- "4.4.8.8"
- ],
- "enable_dhcp": true,
- "endpoint_type": "public",
- "gateway_ip": null,
- "host_routes": null,
- "ip_version": "4",
- "ipv6_address_mode": null,
- "ipv6_ra_mode": null,
- "key": null,
- "name": "private development subnet 1",
- "network_name": "private development",
- "no_gateway_ip": false,
- "region_name": null,
- "state": "present",
- "timeout": 180,
- "verify": true,
- "wait": true
- },
- "module_name": "os_subnet"
- },
- "subnet": {
- "allocation_pools": [
- {
- "end": "192.168.1.200",
- "start": "192.168.1.100"
- }
- ],
- "cidr": "192.168.1.0/24",
- "dns_nameservers": [
- "8.8.8.8",
- "4.4.8.8"
- ],
- "enable_dhcp": true,
- "gateway_ip": "192.168.1.1",
- "host_routes": [],
- "id": "55e98fc1-272a-41d7-9660-1b2606d00473",
- "ip_version": 4,
- "ipv6_address_mode": null,
- "ipv6_ra_mode": null,
- "name": "private development subnet 1",
- "network_id": "3522192b-f24d-41ce-bce0-81c5ffdabf68",
- "subnetpool_id": null,
- "tenant_id": "a7c353675ba941d7ac1bfe12aecdf499"
- }
- }
- TASK [CreateKeyPair : os_keypair] **********************************************
- task path: /Users/wowbagger/Development/Ansible/Projects/TestRun1/roles/CreateKeyPair/tasks/main.yml:2
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_keypair.py
- <cloud_provider_1=trystack> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <cloud_provider_1=trystack> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553337.42-145813145674095 `" && echo ansible-tmp-1478553337.42-145813145674095="` echo $HOME/.ansible/tmp/ansible-tmp-1478553337.42-145813145674095 `" ) && sleep 0'
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_keypair.py
- <localhost> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553337.42-27615175441789 `" && echo ansible-tmp-1478553337.42-27615175441789="` echo $HOME/.ansible/tmp/ansible-tmp-1478553337.42-27615175441789 `" ) && sleep 0'
- <localhost> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmpTm0tbi TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553337.42-27615175441789/os_keypair.py
- <cloud_provider_1=trystack> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmpJ9VGQq TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553337.42-145813145674095/os_keypair.py
- <localhost> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553337.42-27615175441789/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553337.42-27615175441789/os_keypair.py && sleep 0'
- <cloud_provider_1=trystack> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553337.42-145813145674095/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553337.42-145813145674095/os_keypair.py && sleep 0'
- <localhost> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553337.42-27615175441789/os_keypair.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553337.42-27615175441789/" > /dev/null 2>&1 && sleep 0'
- <cloud_provider_1=trystack> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553337.42-145813145674095/os_keypair.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553337.42-145813145674095/" > /dev/null 2>&1 && sleep 0'
- ok: [cloud_provider_1=trystack] => {
- "changed": false,
- "id": "development_key",
- "invocation": {
- "module_args": {
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "availability_zone": null,
- "cacert": null,
- "cert": null,
- "cloud": "trystack",
- "endpoint_type": "public",
- "key": null,
- "name": "development_key",
- "public_key": null,
- "public_key_file": "/Users/wowbagger/Development/Ansible/Projects/TestRun1/roles/CreateKeyPair/files/id_rsa.pub",
- "region_name": null,
- "state": "present",
- "timeout": 180,
- "verify": true,
- "wait": true
- },
- "module_name": "os_keypair"
- },
- "key": {
- "HUMAN_ID": false,
- "NAME_ATTR": "name",
- "fingerprint": "f3:8f:5d:15:1d:22:89:8c:5a:6d:e1:bf:e6:4a:d7:cf",
- "human_id": null,
- "id": "development_key",
- "name": "development_key",
- "public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDLcCRXfitanU6KUB7JJ1KRDJOKcdjImtswtL3xjSdZAi6YxT6Yx44pE24h8pz5pqln+dQ4odUJu8oY/BpRWshyXAwPT3nreE76rhwzWOkgGZLO079gsHMnjYmvpPs2nQURLbL+elDEy/hUKKYgdk5bJfR/w/UrTA6Vm4uPHFr7SpnOxbe/GnGEjp9p3lgdB8Eq0kuzE95eWZ/SgU/IjJ3WK3y1v605j2Xy4QQ+QitRtJVX5TILtz44bu3U2ahy8NUTDvGqJrUs3xzQQXKdxcvEujboVpY0uIayhNlvcxLgjnUw59B/dPDrWh6qThfoqjpUA2ouYq9J71MzFsFup8bR",
- "request_ids": []
- }
- }
- ok: [localhost] => {
- "changed": false,
- "id": "development_key",
- "invocation": {
- "module_args": {
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "availability_zone": null,
- "cacert": null,
- "cert": null,
- "cloud": "trystack",
- "endpoint_type": "public",
- "key": null,
- "name": "development_key",
- "public_key": null,
- "public_key_file": "/Users/wowbagger/Development/Ansible/Projects/TestRun1/roles/CreateKeyPair/files/id_rsa.pub",
- "region_name": null,
- "state": "present",
- "timeout": 180,
- "verify": true,
- "wait": true
- },
- "module_name": "os_keypair"
- },
- "key": {
- "HUMAN_ID": false,
- "NAME_ATTR": "name",
- "fingerprint": "f3:8f:5d:15:1d:22:89:8c:5a:6d:e1:bf:e6:4a:d7:cf",
- "human_id": null,
- "id": "development_key",
- "name": "development_key",
- "public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDLcCRXfitanU6KUB7JJ1KRDJOKcdjImtswtL3xjSdZAi6YxT6Yx44pE24h8pz5pqln+dQ4odUJu8oY/BpRWshyXAwPT3nreE76rhwzWOkgGZLO079gsHMnjYmvpPs2nQURLbL+elDEy/hUKKYgdk5bJfR/w/UrTA6Vm4uPHFr7SpnOxbe/GnGEjp9p3lgdB8Eq0kuzE95eWZ/SgU/IjJ3WK3y1v605j2Xy4QQ+QitRtJVX5TILtz44bu3U2ahy8NUTDvGqJrUs3xzQQXKdxcvEujboVpY0uIayhNlvcxLgjnUw59B/dPDrWh6qThfoqjpUA2ouYq9J71MzFsFup8bR",
- "request_ids": []
- }
- }
- TASK [CreateServers : Get the ID for the Cirros image] *************************
- task path: /Users/wowbagger/Development/Ansible/Projects/TestRun1/roles/CreateServers/tasks/main.yml:4
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_image_facts.py
- <cloud_provider_1=trystack> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <cloud_provider_1=trystack> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553343.64-37091039466761 `" && echo ansible-tmp-1478553343.64-37091039466761="` echo $HOME/.ansible/tmp/ansible-tmp-1478553343.64-37091039466761 `" ) && sleep 0'
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_image_facts.py
- <localhost> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553343.64-133673154110331 `" && echo ansible-tmp-1478553343.64-133673154110331="` echo $HOME/.ansible/tmp/ansible-tmp-1478553343.64-133673154110331 `" ) && sleep 0'
- <localhost> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmpputLN4 TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553343.64-133673154110331/os_image_facts.py
- <cloud_provider_1=trystack> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmptJenx9 TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553343.64-37091039466761/os_image_facts.py
- <localhost> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553343.64-133673154110331/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553343.64-133673154110331/os_image_facts.py && sleep 0'
- <cloud_provider_1=trystack> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553343.64-37091039466761/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553343.64-37091039466761/os_image_facts.py && sleep 0'
- <cloud_provider_1=trystack> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553343.64-37091039466761/os_image_facts.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553343.64-37091039466761/" > /dev/null 2>&1 && sleep 0'
- <localhost> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553343.64-133673154110331/os_image_facts.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553343.64-133673154110331/" > /dev/null 2>&1 && sleep 0'
- ok: [localhost] => {
- "ansible_facts": {
- "openstack_image": {
- "checksum": "ee1eca47dc88f4879d8a229cc70a07c6",
- "container_format": "bare",
- "created_at": "2016-03-16T18:24:55Z",
- "description": "cirros-0.3.4",
- "disk_format": "qcow2",
- "file": "/v2/images/672153ff-5266-43f0-9ac4-dda73a179a66/file",
- "id": "672153ff-5266-43f0-9ac4-dda73a179a66",
- "min_disk": 0,
- "min_ram": 0,
- "name": "Cirros-0.3.4",
- "owner": "81b6765f035b47cca7d389ef11d495ea",
- "protected": true,
- "schema": "/v2/schemas/image",
- "size": 13287936,
- "status": "active",
- "tags": [],
- "updated_at": "2016-05-05T15:03:19Z",
- "virtual_size": null,
- "visibility": "public"
- }
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "availability_zone": null,
- "cacert": null,
- "cert": null,
- "cloud": "trystack",
- "endpoint_type": "public",
- "image": "Cirros-0.3.4",
- "key": null,
- "region_name": null,
- "timeout": 180,
- "verify": true,
- "wait": true
- },
- "module_name": "os_image_facts"
- }
- }
- ok: [cloud_provider_1=trystack] => {
- "ansible_facts": {
- "openstack_image": {
- "checksum": "ee1eca47dc88f4879d8a229cc70a07c6",
- "container_format": "bare",
- "created_at": "2016-03-16T18:24:55Z",
- "description": "cirros-0.3.4",
- "disk_format": "qcow2",
- "file": "/v2/images/672153ff-5266-43f0-9ac4-dda73a179a66/file",
- "id": "672153ff-5266-43f0-9ac4-dda73a179a66",
- "min_disk": 0,
- "min_ram": 0,
- "name": "Cirros-0.3.4",
- "owner": "81b6765f035b47cca7d389ef11d495ea",
- "protected": true,
- "schema": "/v2/schemas/image",
- "size": 13287936,
- "status": "active",
- "tags": [],
- "updated_at": "2016-05-05T15:03:19Z",
- "virtual_size": null,
- "visibility": "public"
- }
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "availability_zone": null,
- "cacert": null,
- "cert": null,
- "cloud": "trystack",
- "endpoint_type": "public",
- "image": "Cirros-0.3.4",
- "key": null,
- "region_name": null,
- "timeout": 180,
- "verify": true,
- "wait": true
- },
- "module_name": "os_image_facts"
- }
- }
- TASK [CreateServers : Get network facts] ***************************************
- task path: /Users/wowbagger/Development/Ansible/Projects/TestRun1/roles/CreateServers/tasks/main.yml:11
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_networks_facts.py
- <localhost> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553348.49-127577774544609 `" && echo ansible-tmp-1478553348.49-127577774544609="` echo $HOME/.ansible/tmp/ansible-tmp-1478553348.49-127577774544609 `" ) && sleep 0'
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_networks_facts.py
- <cloud_provider_1=trystack> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <cloud_provider_1=trystack> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553348.49-226489306166031 `" && echo ansible-tmp-1478553348.49-226489306166031="` echo $HOME/.ansible/tmp/ansible-tmp-1478553348.49-226489306166031 `" ) && sleep 0'
- <localhost> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmp4UhItJ TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553348.49-127577774544609/os_networks_facts.py
- <cloud_provider_1=trystack> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmppuyp4b TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553348.49-226489306166031/os_networks_facts.py
- <cloud_provider_1=trystack> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553348.49-226489306166031/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553348.49-226489306166031/os_networks_facts.py && sleep 0'
- <localhost> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553348.49-127577774544609/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553348.49-127577774544609/os_networks_facts.py && sleep 0'
- <localhost> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553348.49-127577774544609/os_networks_facts.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553348.49-127577774544609/" > /dev/null 2>&1 && sleep 0'
- <cloud_provider_1=trystack> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553348.49-226489306166031/os_networks_facts.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553348.49-226489306166031/" > /dev/null 2>&1 && sleep 0'
- ok: [cloud_provider_1=trystack] => {
- "ansible_facts": {
- "openstack_networks": []
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "availability_zone": null,
- "cacert": null,
- "cert": null,
- "cloud": "trystack",
- "endpoint_type": "public",
- "filters": null,
- "key": null,
- "name": "private",
- "region_name": null,
- "timeout": 180,
- "verify": true,
- "wait": true
- },
- "module_name": "os_networks_facts"
- }
- }
- ok: [localhost] => {
- "ansible_facts": {
- "openstack_networks": []
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "availability_zone": null,
- "cacert": null,
- "cert": null,
- "cloud": "trystack",
- "endpoint_type": "public",
- "filters": null,
- "key": null,
- "name": "private",
- "region_name": null,
- "timeout": 180,
- "verify": true,
- "wait": true
- },
- "module_name": "os_networks_facts"
- }
- }
- TASK [CreateServers : Get subnet facts] ****************************************
- task path: /Users/wowbagger/Development/Ansible/Projects/TestRun1/roles/CreateServers/tasks/main.yml:18
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_subnets_facts.py
- <localhost> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553353.98-113129524447048 `" && echo ansible-tmp-1478553353.98-113129524447048="` echo $HOME/.ansible/tmp/ansible-tmp-1478553353.98-113129524447048 `" ) && sleep 0'
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_subnets_facts.py
- <cloud_provider_1=trystack> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <cloud_provider_1=trystack> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553353.98-205299099665275 `" && echo ansible-tmp-1478553353.98-205299099665275="` echo $HOME/.ansible/tmp/ansible-tmp-1478553353.98-205299099665275 `" ) && sleep 0'
- <cloud_provider_1=trystack> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmp4nzwuU TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553353.98-205299099665275/os_subnets_facts.py
- <localhost> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmpZmKJJY TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553353.98-113129524447048/os_subnets_facts.py
- <localhost> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553353.98-113129524447048/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553353.98-113129524447048/os_subnets_facts.py && sleep 0'
- <cloud_provider_1=trystack> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553353.98-205299099665275/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553353.98-205299099665275/os_subnets_facts.py && sleep 0'
- <localhost> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553353.98-113129524447048/os_subnets_facts.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553353.98-113129524447048/" > /dev/null 2>&1 && sleep 0'
- <cloud_provider_1=trystack> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553353.98-205299099665275/os_subnets_facts.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553353.98-205299099665275/" > /dev/null 2>&1 && sleep 0'
- ok: [cloud_provider_1=trystack] => {
- "ansible_facts": {
- "openstack_subnets": []
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "availability_zone": null,
- "cacert": null,
- "cert": null,
- "cloud": "trystack",
- "endpoint_type": "public",
- "filters": null,
- "key": null,
- "name": "private subnet",
- "region_name": null,
- "timeout": 180,
- "verify": true,
- "wait": true
- },
- "module_name": "os_subnets_facts"
- }
- }
- ok: [localhost] => {
- "ansible_facts": {
- "openstack_subnets": []
- },
- "changed": false,
- "invocation": {
- "module_args": {
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "availability_zone": null,
- "cacert": null,
- "cert": null,
- "cloud": "trystack",
- "endpoint_type": "public",
- "filters": null,
- "key": null,
- "name": "private subnet",
- "region_name": null,
- "timeout": 180,
- "verify": true,
- "wait": true
- },
- "module_name": "os_subnets_facts"
- }
- }
- TASK [CreateServers : Create a Cirros Server instance] *************************
- task path: /Users/wowbagger/Development/Ansible/Projects/TestRun1/roles/CreateServers/tasks/main.yml:25
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_server.py
- <cloud_provider_1=trystack> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <cloud_provider_1=trystack> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553358.76-251712911846713 `" && echo ansible-tmp-1478553358.76-251712911846713="` echo $HOME/.ansible/tmp/ansible-tmp-1478553358.76-251712911846713 `" ) && sleep 0'
- Using module file /Library/Python/2.7/site-packages/ansible/modules/core/cloud/openstack/os_server.py
- <localhost> ESTABLISH LOCAL CONNECTION FOR USER: wowbagger
- <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1478553358.77-223781477062058 `" && echo ansible-tmp-1478553358.77-223781477062058="` echo $HOME/.ansible/tmp/ansible-tmp-1478553358.77-223781477062058 `" ) && sleep 0'
- <localhost> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmpAg646A TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553358.77-223781477062058/os_server.py
- <cloud_provider_1=trystack> PUT /var/folders/5h/5fmj3rfn18j8lqlpm2hz59x80000gq/T/tmpQhSB5w TO /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553358.76-251712911846713/os_server.py
- <localhost> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553358.77-223781477062058/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553358.77-223781477062058/os_server.py && sleep 0'
- <cloud_provider_1=trystack> EXEC /bin/sh -c 'chmod u+x /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553358.76-251712911846713/ /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553358.76-251712911846713/os_server.py && sleep 0'
- <localhost> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553358.77-223781477062058/os_server.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553358.77-223781477062058/" > /dev/null 2>&1 && sleep 0'
- <cloud_provider_1=trystack> EXEC /bin/sh -c '/usr/bin/python /Users/wowbagger/.ansible/tmp/ansible-tmp-1478553358.76-251712911846713/os_server.py; rm -rf "/Users/wowbagger/.ansible/tmp/ansible-tmp-1478553358.76-251712911846713/" > /dev/null 2>&1 && sleep 0'
- changed: [localhost] => {
- "changed": true,
- "id": "b888ecf9-3ac8-4e38-8184-7591dc5cb1ba",
- "invocation": {
- "module_args": {
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "auto_ip": false,
- "availability_zone": null,
- "boot_from_volume": false,
- "boot_volume": null,
- "cacert": null,
- "cert": null,
- "cloud": "trystack",
- "config_drive": false,
- "delete_fip": false,
- "endpoint_type": "public",
- "flavor": "1",
- "flavor_include": null,
- "flavor_ram": null,
- "floating_ip_pools": null,
- "floating_ips": null,
- "image": "672153ff-5266-43f0-9ac4-dda73a179a66",
- "image_exclude": "(deprecated)",
- "key": null,
- "key_name": "development_key",
- "meta": null,
- "name": "server1",
- "network": null,
- "nics": [],
- "region_name": null,
- "reuse_ips": true,
- "scheduler_hints": null,
- "security_groups": [
- "default"
- ],
- "state": "present",
- "terminate_volume": false,
- "timeout": 30000,
- "userdata": null,
- "verify": true,
- "volume_size": false,
- "volumes": [],
- "wait": false
- },
- "module_name": "os_server"
- },
- "openstack": {
- "HUMAN_ID": true,
- "NAME_ATTR": "name",
- "OS-DCF:diskConfig": "MANUAL",
- "OS-EXT-AZ:availability_zone": "nova",
- "OS-EXT-STS:power_state": 0,
- "OS-EXT-STS:task_state": "networking",
- "OS-EXT-STS:vm_state": "building",
- "OS-SRV-USG:launched_at": null,
- "OS-SRV-USG:terminated_at": null,
- "accessIPv4": "",
- "accessIPv6": "",
- "addresses": {},
- "adminPass": "4fGMq7AJpWdT",
- "az": "nova",
- "cloud": "trystack",
- "config_drive": "",
- "created": "2016-11-07T21:16:07Z",
- "flavor": {
- "id": "1",
- "name": "m1.tiny"
- },
- "hostId": "612d9d8ac60e79b6e26730a4b387028ca8764f71b7c669a420e268d2",
- "human_id": "server1",
- "id": "b888ecf9-3ac8-4e38-8184-7591dc5cb1ba",
- "image": {
- "id": "672153ff-5266-43f0-9ac4-dda73a179a66",
- "name": "Cirros-0.3.4"
- },
- "interface_ip": "",
- "key_name": "development_key",
- "metadata": {},
- "name": "server1",
- "networks": {},
- "os-extended-volumes:volumes_attached": [],
- "private_v4": "",
- "progress": 0,
- "public_v4": "",
- "public_v6": "",
- "region": "RegionOne",
- "request_ids": [
- "req-0641672f-a73c-4433-b209-e35bd8fb94f2"
- ],
- "security_groups": [
- {
- "description": "Default security group",
- "id": "e6f8fca6-4088-4517-8bc7-1bf5d90586e9",
- "name": "default",
- "security_group_rules": [
- {
- "direction": "ingress",
- "ethertype": "IPv4",
- "id": "25623099-065b-4948-a58f-6b8670759ffd",
- "port_range_max": null,
- "port_range_min": null,
- "protocol": null,
- "remote_ip_prefix": null,
- "security_group_id": "e6f8fca6-4088-4517-8bc7-1bf5d90586e9"
- }
- ]
- }
- ],
- "status": "BUILD",
- "tenant_id": "a7c353675ba941d7ac1bfe12aecdf499",
- "updated": "2016-11-07T21:16:07Z",
- "user_id": "866c25595d4b4b51a4aeef4cee5a4531",
- "volumes": []
- },
- "server": {
- "HUMAN_ID": true,
- "NAME_ATTR": "name",
- "OS-DCF:diskConfig": "MANUAL",
- "OS-EXT-AZ:availability_zone": "nova",
- "OS-EXT-STS:power_state": 0,
- "OS-EXT-STS:task_state": "networking",
- "OS-EXT-STS:vm_state": "building",
- "OS-SRV-USG:launched_at": null,
- "OS-SRV-USG:terminated_at": null,
- "accessIPv4": "",
- "accessIPv6": "",
- "addresses": {},
- "adminPass": "4fGMq7AJpWdT",
- "az": "nova",
- "cloud": "trystack",
- "config_drive": "",
- "created": "2016-11-07T21:16:07Z",
- "flavor": {
- "id": "1",
- "name": "m1.tiny"
- },
- "hostId": "612d9d8ac60e79b6e26730a4b387028ca8764f71b7c669a420e268d2",
- "human_id": "server1",
- "id": "b888ecf9-3ac8-4e38-8184-7591dc5cb1ba",
- "image": {
- "id": "672153ff-5266-43f0-9ac4-dda73a179a66",
- "name": "Cirros-0.3.4"
- },
- "interface_ip": "",
- "key_name": "development_key",
- "metadata": {},
- "name": "server1",
- "networks": {},
- "os-extended-volumes:volumes_attached": [],
- "private_v4": "",
- "progress": 0,
- "public_v4": "",
- "public_v6": "",
- "region": "RegionOne",
- "request_ids": [
- "req-0641672f-a73c-4433-b209-e35bd8fb94f2"
- ],
- "security_groups": [
- {
- "description": "Default security group",
- "id": "e6f8fca6-4088-4517-8bc7-1bf5d90586e9",
- "name": "default",
- "security_group_rules": [
- {
- "direction": "ingress",
- "ethertype": "IPv4",
- "id": "25623099-065b-4948-a58f-6b8670759ffd",
- "port_range_max": null,
- "port_range_min": null,
- "protocol": null,
- "remote_ip_prefix": null,
- "security_group_id": "e6f8fca6-4088-4517-8bc7-1bf5d90586e9"
- }
- ]
- }
- ],
- "status": "BUILD",
- "tenant_id": "a7c353675ba941d7ac1bfe12aecdf499",
- "updated": "2016-11-07T21:16:07Z",
- "user_id": "866c25595d4b4b51a4aeef4cee5a4531",
- "volumes": []
- }
- }
- changed: [cloud_provider_1=trystack] => {
- "changed": true,
- "id": "e9e759c8-d0ad-4ae4-8942-b04946380f66",
- "invocation": {
- "module_args": {
- "api_timeout": null,
- "auth": null,
- "auth_type": null,
- "auto_ip": false,
- "availability_zone": null,
- "boot_from_volume": false,
- "boot_volume": null,
- "cacert": null,
- "cert": null,
- "cloud": "trystack",
- "config_drive": false,
- "delete_fip": false,
- "endpoint_type": "public",
- "flavor": "1",
- "flavor_include": null,
- "flavor_ram": null,
- "floating_ip_pools": null,
- "floating_ips": null,
- "image": "672153ff-5266-43f0-9ac4-dda73a179a66",
- "image_exclude": "(deprecated)",
- "key": null,
- "key_name": "development_key",
- "meta": null,
- "name": "server1",
- "network": null,
- "nics": [],
- "region_name": null,
- "reuse_ips": true,
- "scheduler_hints": null,
- "security_groups": [
- "default"
- ],
- "state": "present",
- "terminate_volume": false,
- "timeout": 30000,
- "userdata": null,
- "verify": true,
- "volume_size": false,
- "volumes": [],
- "wait": false
- },
- "module_name": "os_server"
- },
- "openstack": {
- "HUMAN_ID": true,
- "NAME_ATTR": "name",
- "OS-DCF:diskConfig": "MANUAL",
- "OS-EXT-AZ:availability_zone": "",
- "OS-EXT-STS:power_state": 0,
- "OS-EXT-STS:task_state": null,
- "OS-EXT-STS:vm_state": "building",
- "OS-SRV-USG:launched_at": null,
- "OS-SRV-USG:terminated_at": null,
- "accessIPv4": "",
- "accessIPv6": "",
- "addresses": {},
- "adminPass": "jGTP9n6wg7hF",
- "cloud": "trystack",
- "config_drive": "",
- "created": "2016-11-07T21:16:06Z",
- "flavor": {
- "id": "1",
- "name": "m1.tiny"
- },
- "hostId": "",
- "human_id": "server1",
- "id": "e9e759c8-d0ad-4ae4-8942-b04946380f66",
- "image": {
- "id": "672153ff-5266-43f0-9ac4-dda73a179a66",
- "name": "Cirros-0.3.4"
- },
- "interface_ip": "",
- "key_name": "development_key",
- "metadata": {},
- "name": "server1",
- "networks": {},
- "os-extended-volumes:volumes_attached": [],
- "private_v4": "",
- "progress": 0,
- "public_v4": "",
- "public_v6": "",
- "region": "RegionOne",
- "request_ids": [
- "req-26ef4a53-5101-4fae-8eb9-c4667556a3c1"
- ],
- "security_groups": [
- {
- "description": "Default security group",
- "id": "e6f8fca6-4088-4517-8bc7-1bf5d90586e9",
- "name": "default",
- "security_group_rules": [
- {
- "direction": "ingress",
- "ethertype": "IPv4",
- "id": "25623099-065b-4948-a58f-6b8670759ffd",
- "port_range_max": null,
- "port_range_min": null,
- "protocol": null,
- "remote_ip_prefix": null,
- "security_group_id": "e6f8fca6-4088-4517-8bc7-1bf5d90586e9"
- }
- ]
- }
- ],
- "status": "BUILD",
- "tenant_id": "a7c353675ba941d7ac1bfe12aecdf499",
- "updated": "2016-11-07T21:16:07Z",
- "user_id": "866c25595d4b4b51a4aeef4cee5a4531",
- "volumes": []
- },
- "server": {
- "HUMAN_ID": true,
- "NAME_ATTR": "name",
- "OS-DCF:diskConfig": "MANUAL",
- "OS-EXT-AZ:availability_zone": "",
- "OS-EXT-STS:power_state": 0,
- "OS-EXT-STS:task_state": null,
- "OS-EXT-STS:vm_state": "building",
- "OS-SRV-USG:launched_at": null,
- "OS-SRV-USG:terminated_at": null,
- "accessIPv4": "",
- "accessIPv6": "",
- "addresses": {},
- "adminPass": "jGTP9n6wg7hF",
- "cloud": "trystack",
- "config_drive": "",
- "created": "2016-11-07T21:16:06Z",
- "flavor": {
- "id": "1",
- "name": "m1.tiny"
- },
- "hostId": "",
- "human_id": "server1",
- "id": "e9e759c8-d0ad-4ae4-8942-b04946380f66",
- "image": {
- "id": "672153ff-5266-43f0-9ac4-dda73a179a66",
- "name": "Cirros-0.3.4"
- },
- "interface_ip": "",
- "key_name": "development_key",
- "metadata": {},
- "name": "server1",
- "networks": {},
- "os-extended-volumes:volumes_attached": [],
- "private_v4": "",
- "progress": 0,
- "public_v4": "",
- "public_v6": "",
- "region": "RegionOne",
- "request_ids": [
- "req-26ef4a53-5101-4fae-8eb9-c4667556a3c1"
- ],
- "security_groups": [
- {
- "description": "Default security group",
- "id": "e6f8fca6-4088-4517-8bc7-1bf5d90586e9",
- "name": "default",
- "security_group_rules": [
- {
- "direction": "ingress",
- "ethertype": "IPv4",
- "id": "25623099-065b-4948-a58f-6b8670759ffd",
- "port_range_max": null,
- "port_range_min": null,
- "protocol": null,
- "remote_ip_prefix": null,
- "security_group_id": "e6f8fca6-4088-4517-8bc7-1bf5d90586e9"
- }
- ]
- }
- ],
- "status": "BUILD",
- "tenant_id": "a7c353675ba941d7ac1bfe12aecdf499",
- "updated": "2016-11-07T21:16:07Z",
- "user_id": "866c25595d4b4b51a4aeef4cee5a4531",
- "volumes": []
- }
- }
- PLAY RECAP *********************************************************************
- cloud_provider_1=trystack : ok=8 changed=1 unreachable=0 failed=0
- localhost : ok=8 changed=1 unreachable=0 failed=0
- Copy / paste from trystack:
- Name
- server1
- ID
- b888ecf9-3ac8-4e38-8184-7591dc5cb1ba
- Status
- Active
- Availability Zone
- nova
- Created
- 8 Nov 2016, 5:16 a.m.
- Time Since Created
- 1 minute
- Name
- server1
- ID
- e9e759c8-d0ad-4ae4-8942-b04946380f66
- Status
- Active
- Availability Zone
- nova
- Created
- 8 Nov 2016, 5:16 a.m.
- Time Since Created
- 1 minute
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement