Ansible: Nomad 0.12.0 upgrade
[csit.git] / resources / tools / testbed-setup / ansible / roles / nomad / tasks / main.yaml
index a8bf90f..e1341b3 100644 (file)
   tags:
     - nomad-conf-user
 
+- name: Inst - Clean Nomad
+  file:
+    path: "{{ nomad_inst_dir }}/nomad"
+    state: "absent"
+  tags:
+    - nomad-inst-package
+
 - name: Inst - Download Nomad
   get_url:
     url: "{{ nomad_zip_url }}"
   tags:
     - nomad-inst-package
 
-- name: Inst - Cleanup
-  file:
-    path: "{{ nomad_inst_dir }}/nomad"
-    state: "absent"
-  tags:
-    - nomad-inst-package
-
 - name: Conf - Create Directories "{{ nomad_data_dir }}"
   file:
     dest: "{{ nomad_data_dir }}"