try again on the conditionals

This commit is contained in:
Seth Vidal 2013-03-07 05:48:47 +00:00
parent 45c3314058
commit 2d5d45201a

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