diff --git a/tasks/persistent_cloud.yml b/tasks/persistent_cloud.yml index 5b6b90ae85..275b560e98 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 is_set('${volumes}')" + only_if: "'${host_is_up.rc}' != '0' and is_set('''${volumes}''')" with_items: $volumes