[cloud09] using public_up as floating ip
This commit is contained in:
parent
308b3cccc6
commit
7abf3d932a
1 changed files with 4 additions and 3 deletions
|
@ -46,12 +46,13 @@
|
||||||
security_groups: "{{security_group}}"
|
security_groups: "{{security_group}}"
|
||||||
key_name: "{{ keypair }}"
|
key_name: "{{ keypair }}"
|
||||||
nics: "{{ cloud_networks }}"
|
nics: "{{ cloud_networks }}"
|
||||||
#floating_ips:
|
# floating_ip_pools: "{{ floating_ip_pools }}"
|
||||||
# - "{{public_ip}}"
|
floating_ips:
|
||||||
|
- "{{public_ip}}"
|
||||||
register: nova_result
|
register: nova_result
|
||||||
# when: vm_status.stdout != "ACTIVE"
|
# when: vm_status.stdout != "ACTIVE"
|
||||||
|
|
||||||
# - debug: msg="{{ nova_result.info }}"
|
- debug: msg="{{ nova_result.info }}"
|
||||||
|
|
||||||
# Something wrong with OS volume attach/detach at the moment
|
# Something wrong with OS volume attach/detach at the moment
|
||||||
# TODO: discover if volume is attached or not
|
# TODO: discover if volume is attached or not
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue