trying something completelt different

This commit is contained in:
Seth Vidal 2012-12-18 00:10:29 +00:00
parent d6e8fd36e8
commit 4774f0836c

View file

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