From 2d5d45201ab937970425a9c73bf93c93723b64c0 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Thu, 7 Mar 2013 05:48:47 +0000 Subject: [PATCH] try again on the conditionals --- tasks/persistent_cloud.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/persistent_cloud.yml b/tasks/persistent_cloud.yml index 43eb713508..4a7f1cc935 100644 --- a/tasks/persistent_cloud.yml +++ b/tasks/persistent_cloud.yml @@ -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'"