wack-a-molesyntax syntax on only_if

This commit is contained in:
Seth Vidal 2012-12-17 23:52:13 +00:00
parent 1a82ae99ee
commit d6e8fd36e8

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("${volumes}") != 0'''
with_items: $volumes