tested this one out, copiously - and eventhough it makes me grumpy - at least it works

This commit is contained in:
Seth Vidal 2013-03-07 06:21:31 +00:00
parent 2d29784816
commit c4f4c774ed

View file

@ -21,4 +21,4 @@
- name: attach volumes to the system
local_action: shell euca-attach-volume --config ${persist_config} -i ${inst_res.instances[0].id} $item
with_items: $volumes
only_if: "'$volumes' and '${host_is_up.rc}' != '0'"
only_if: 'is_set("${volumes}") and "${host_is_up.rc}" != "0"'