diff options
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/nomad/defaults/main.yaml | 2 | ||||
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/nomad/defaults/main.yaml index c24468b71d..f88e882fce 100644 --- a/resources/tools/testbed-setup/ansible/roles/nomad/defaults/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/nomad/defaults/main.yaml @@ -29,7 +29,7 @@ nomad_architecture_map: 32-bit: "386" 64-bit: "amd64" nomad_architecture: "{{ nomad_architecture_map[ansible_architecture] }}" -nomad_version: "0.10.2" +nomad_version: "0.12.0" nomad_pkg: "nomad_{{ nomad_version }}_linux_{{ nomad_architecture }}.zip" nomad_zip_url: "https://releases.hashicorp.com/nomad/{{ nomad_version }}/{{ nomad_pkg }}" diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml index cd52b929bf..e1341b3361 100644 --- a/resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml @@ -30,6 +30,13 @@ 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 }}" |