diff --git a/tasks/persistent_cloud.yml b/tasks/persistent_cloud.yml index 44c31c518b..2f133b463e 100644 --- a/tasks/persistent_cloud.yml +++ b/tasks/persistent_cloud.yml @@ -50,7 +50,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 - ignore_errors: True + failed_when: no when: volumes is defined #