From 7abf3d932a0c967c6247bad58c08448a80df56c9 Mon Sep 17 00:00:00 2001 From: Valentin Gologuzov Date: Mon, 16 Mar 2015 20:48:18 +0100 Subject: [PATCH] [cloud09] using public_up as floating ip --- tasks/persistent_cloud_new.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks/persistent_cloud_new.yml b/tasks/persistent_cloud_new.yml index c61c095fb2..df954052d6 100644 --- a/tasks/persistent_cloud_new.yml +++ b/tasks/persistent_cloud_new.yml @@ -46,12 +46,13 @@ security_groups: "{{security_group}}" key_name: "{{ keypair }}" nics: "{{ cloud_networks }}" - #floating_ips: - # - "{{public_ip}}" + # floating_ip_pools: "{{ floating_ip_pools }}" + floating_ips: + - "{{public_ip}}" register: nova_result # 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 # TODO: discover if volume is attached or not