From e5a5ca9e797c76c6cbe90c3e8168de971c13c88a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 13 May 2015 20:45:05 +0000 Subject: [PATCH] Tweak some values to try and get things working. --- playbooks/temp_cloud_instance.yml | 3 +-- tasks/transient_cloud_new.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/playbooks/temp_cloud_instance.yml b/playbooks/temp_cloud_instance.yml index ce43adde32..e5a5f5a100 100644 --- a/playbooks/temp_cloud_instance.yml +++ b/playbooks/temp_cloud_instance.yml @@ -13,7 +13,7 @@ - /srv/private/ansible/files/openstack/passwords.yml vars: - keypair: fedora-admin-20130801 - - image: {{ centos70_x86_64 }} + - image: "{{ centos70_x86_64 }}" - instance_type: m1.small - security_group: web-80-anywhere-persistent,web-443-anywhere-persistent,ssh-anywhere-persistent,default - region: nova @@ -26,7 +26,6 @@ - net-id: "28db7265-fb78-4937-bfe3-9c8a9b959c30" - floating_ips: - "{{public_ip}}" - tasks: - name: fail when name is not provided fail: msg="Please specify the name of the instance" diff --git a/tasks/transient_cloud_new.yml b/tasks/transient_cloud_new.yml index e5c1a72c1d..6cd38a5bfc 100644 --- a/tasks/transient_cloud_new.yml +++ b/tasks/transient_cloud_new.yml @@ -1,7 +1,7 @@ # New tasks to spin up instance in https://fed-cloud09.cloud.fedoraproject.org - name: check it out - local_action: shell nc -d -z -w 5 {{ inventory_hostname }} 22 >>/dev/null + local_action: shell nc -d -z -w 5 {{ public_ip }} 22 >>/dev/null register: host_is_up ignore_errors: true