duplicate the volume attachment as a test for euca issue

This commit is contained in:
Seth Vidal 2013-02-13 20:50:15 +00:00
parent ba26f55251
commit aa0ba57daa

View file

@ -23,3 +23,9 @@
only_if: "'${host_is_up.rc}' != '0' and len('$item') != 0" only_if: "'${host_is_up.rc}' != '0' and len('$item') != 0"
with_items: $volumes 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