From 9a6ab37889008782f0a8d48587dc6e8987740cdf Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Tue, 18 Dec 2012 00:12:36 +0000 Subject: [PATCH] this quoting is HURKY --- 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 07452c982e..2a8080bece 100644 --- a/tasks/persistent_cloud.yml +++ b/tasks/persistent_cloud.yml @@ -20,6 +20,6 @@ # attach and mount volumes - name: attach volumes to the system local_action: shell euca-attach-volume -i ${inst_res.instances[0].id} $item - only_if: "'${host_is_up.rc}' != '0' and len($item) != 0" + only_if: "'${host_is_up.rc}' != '0' and len('$item') != 0" with_items: $volumes