From b215b5712149a23df636ff7774e8e68a025dfcc2 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 25 Jun 2016 20:11:01 +0000 Subject: [PATCH] Try this to mask the failure --- tasks/persistent_cloud.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/persistent_cloud.yml b/tasks/persistent_cloud.yml index 1427dc9186..aa6a7d2f14 100644 --- a/tasks/persistent_cloud.yml +++ b/tasks/persistent_cloud.yml @@ -51,6 +51,7 @@ - local_action: shell nova --os-auth-url="{{os_auth_url}}" --os-username="admin" --os-password="{{ADMIN_PASS}}" --os-tenant-name={{inventory_tenant}} volume-list | grep ' {{item.volume_id}} ' | grep 'available' with_items: "{{volumes}}" register: volume_available + failed_when: volume_available.rc == 2 ignore_errors: True when: volumes is defined