From c4f4c774ed1c92c640f780832ec4ac1aa92ba74c Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Thu, 7 Mar 2013 06:21:31 +0000 Subject: [PATCH] tested this one out, copiously - and eventhough it makes me grumpy - at least it works --- 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 eaf9a8cd0f..691862519c 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: "'$volumes' and '${host_is_up.rc}' != '0'" + only_if: 'is_set("${volumes}") and "${host_is_up.rc}" != "0"'