mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
duplicate the volume attachment as a test for euca issue
This commit is contained in:
@@ -23,3 +23,9 @@
|
||||
only_if: "'${host_is_up.rc}' != '0' and len('$item') != 0"
|
||||
with_items: $volumes
|
||||
|
||||
# attach and mount volumes
|
||||
- name: attach volumes to the system
|
||||
local_action: shell euca-attach-volume -i ${inst_res.instances[0].id} $item
|
||||
only_if: "'${host_is_up.rc}' != '0' and len('$item') != 0"
|
||||
with_items: $volumes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user