Hello,
I'm trying to launch a vm on a private openstack cloud. Can anyone please
tell me where I should put the Openstack controller address in the
playbook. I can find only examples with hosts: localhost.
The openstack controller node is 10.26.253.15 and the ansible server is
10.1.1.1.
---
- name: launch an instance
os_server:
state: present
auth:
auth_url: http://10.26.253.15:5000/v2.0/tokens
username: admin
password: xxxxxx
project_name: Vlad
name: vm-ansible
region_name: RegionOne
availability_zone: tlapp09
image: d8ed5faa-9826-4ae0-b5ac-0bb2de4ad672
key: /tmp/cloud.key
key_name: cloud-key-pub
timeout: 200
flavor: 4
security_groups: default
nics:
- net-id: 4d791e51-2875-4065-90b0-bec4a2e804d7
floating_ip_pools:
- VN-A-Floats
...
Thanks!
Vlad
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/5e22c654-b16c-4325-bc0f-1a7ddc228360%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.