diff options
author | pmikus <pmikus@cisco.com> | 2020-07-29 09:09:00 +0000 |
---|---|---|
committer | pmikus <pmikus@cisco.com> | 2020-07-29 09:09:00 +0000 |
commit | c0978e207e570be698d1b70b078f4d7c04fc0444 (patch) | |
tree | 28daaa49fbaa2e10e658f0ebc080be05ccda8f54 /resources/tools/testbed-setup/ansible/roles | |
parent | 3f0822a35efc2fd61bcc4040bea13519f389b655 (diff) |
Ansible: Nomad 0.12.0 upgrade
+ random fixes
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Icb320d1ba4bbe3b5f99956cf8e89c2a29e114e41
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 }}" |