From 6d1e65fcdb5cab9be7986acfe46a65cc2d1514d0 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 13 Oct 2016 21:12:01 +0000 Subject: [PATCH] try ignoring errors here as well for ansible 2.2 --- tasks/persistent_cloud.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/persistent_cloud.yml b/tasks/persistent_cloud.yml index 3e28274409..56dbc0bf46 100644 --- a/tasks/persistent_cloud.yml +++ b/tasks/persistent_cloud.yml @@ -63,6 +63,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}}" + ignore_errors: True when: volumes is defined and volume_available is defined and volume_available.rc == 0 - name: wait for he host to be hot