From 4c4a1500334c5bdbedcf373714b1dfb54809154f Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 25 Jun 2016 17:43:02 +0000 Subject: [PATCH] Actually revert this part too --- tasks/persistent_cloud.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/persistent_cloud.yml b/tasks/persistent_cloud.yml index 8c86df8cef..44c31c518b 100644 --- a/tasks/persistent_cloud.yml +++ b/tasks/persistent_cloud.yml @@ -58,7 +58,7 @@ # - local_action: shell nova --os-auth-url="{{os_auth_url}}" --os-username="admin" --os-password="{{ADMIN_PASS}}" --os-tenant-name={{inventory_tenant}} volume-attach "{{inventory_instance_name}}" "{{item.volume_id}}" "{{item.device}}" with_items: "{{volumes}}" - when: volume_available.rc = 0 + when: volume_available|success - name: wait for he host to be hot local_action: wait_for host={{ public_ip }} port=22 delay=1 timeout=600