From d6e8fd36e81be12279ccfd4f9cc0623215dc3869 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Mon, 17 Dec 2012 23:52:13 +0000 Subject: [PATCH] wack-a-molesyntax syntax on only_if --- 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 2b382443f4..dcab55dea3 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("$volumes") != 0" + only_if: ''''${host_is_up.rc}' != '0' and len("${volumes}") != 0''' with_items: $volumes