try ignoring errors here as well for ansible 2.2
This commit is contained in:
parent
f052fd8822
commit
6d1e65fcdb
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue