Yingyi Bu has uploaded a new change for review.

  https://asterix-gerrit.ics.uci.edu/1599

Change subject: Minor fix for the aws_start script.
......................................................................

Minor fix for the aws_start script.

Change-Id: I7446868484a1ffd7ca84c3652276e69db5208498
---
M asterixdb/asterix-server/src/main/opt/aws/yaml/aws_start.yml
1 file changed, 5 insertions(+), 3 deletions(-)


  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb 
refs/changes/99/1599/1

diff --git a/asterixdb/asterix-server/src/main/opt/aws/yaml/aws_start.yml 
b/asterixdb/asterix-server/src/main/opt/aws/yaml/aws_start.yml
index 5287e34..344bfd5 100644
--- a/asterixdb/asterix-server/src/main/opt/aws/yaml/aws_start.yml
+++ b/asterixdb/asterix-server/src/main/opt/aws/yaml/aws_start.yml
@@ -29,8 +29,10 @@
   tasks:
     - include_vars: ../conf/aws_settings.yml
     - include_vars: ../conf/aws_types.yml
-    - debug:
-        msg: "{{ vols }}"
+
+    - name: Clean the temporary directory
+      shell: rm -rf "{{ temp_dir }}"
+
     - name: Launch all instances
       ec2:
         key_name: "{{ keypair }}"
@@ -110,7 +112,7 @@
 
     - name: Populate multiple iodevices
       shell: printf "  - /data{{ vol.0 + 1 }}/iodevice\n" >> "{{ temp_dir 
}}/devices"
-      with_indexed_items: vols
+      with_indexed_items: "{{ vols }}"
       loop_control:
         loop_var: vol
       when: vols|length > 0

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/1599
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7446868484a1ffd7ca84c3652276e69db5208498
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Yingyi Bu <[email protected]>

Reply via email to