and {} for that value

This commit is contained in:
Seth Vidal 2013-03-07 05:57:47 +00:00
parent 6a8df80806
commit c7c92845fd

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: "is_set('$volumes') and '$host_is_up.rc' != '0'"
only_if: "is_set('$volumes') and '${host_is_up.rc}' != '0'"