Ansible: Nomad 0.12.0 upgrade 00/28100/1
authorpmikus <pmikus@cisco.com>
Wed, 29 Jul 2020 09:09:00 +0000 (09:09 +0000)
committerpmikus <pmikus@cisco.com>
Wed, 29 Jul 2020 09:09:00 +0000 (09:09 +0000)
+ random fixes

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Icb320d1ba4bbe3b5f99956cf8e89c2a29e114e41

resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.69.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml
resources/tools/testbed-setup/ansible/roles/nomad/defaults/main.yaml
resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml

index 7f1f3b9..0904fca 100644 (file)
@@ -24,5 +24,6 @@ nomad_options:
   driver.raw_exec.enable: 1
   docker.cleanup.image: false
   docker.privileged.enabled: true
+  docker.volumes.enabled: true
   driver.whitelist: "docker,raw_exec,exec"
 nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ]
index 89809c8..f003f0d 100644 (file)
@@ -24,5 +24,6 @@ nomad_options:
   driver.raw_exec.enable: 1
   docker.cleanup.image: false
   docker.privileged.enabled: true
+  docker.volumes.enabled: true
   driver.whitelist: "docker,raw_exec,exec"
 nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ]
index 14ef74f..f330a19 100644 (file)
@@ -39,5 +39,7 @@ nomad_options:
   driver.raw_exec.enable: 1
   docker.cleanup.image: false
   docker.privileged.enabled: true
+  docker.volumes.enabled: true
   driver.whitelist: "docker,raw_exec,exec"
 nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ]
+nomad_cpu_total_compute: "40000"
index 33d5ded..d7aac45 100644 (file)
@@ -29,7 +29,7 @@ nomad_datacenter: "yul1"
 nomad_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ=="
 nomad_name: "{{ hostname }}-{{ ansible_architecture }}"
 nomad_node_role: "both"
-nomad_node_class: "s5ci"
+nomad_node_class: "builder"
 nomad_options:
   driver.raw_exec.enable: 1
   docker.cleanup.image: true
index c24468b..f88e882 100644 (file)
@@ -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 }}"
 
index cd52b92..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 }}"

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.