From aa0ba57daa51c97bbfb820e4873807784c76d290 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Wed, 13 Feb 2013 20:50:15 +0000 Subject: [PATCH] duplicate the volume attachment as a test for euca issue --- tasks/persistent_cloud.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/persistent_cloud.yml b/tasks/persistent_cloud.yml index 2a8080bece..9b9e73c5a1 100644 --- a/tasks/persistent_cloud.yml +++ b/tasks/persistent_cloud.yml @@ -23,3 +23,9 @@ only_if: "'${host_is_up.rc}' != '0' and len('$item') != 0" with_items: $volumes +# 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" + with_items: $volumes +