Update to 2023-07-19 12:00

This commit is contained in:
Daniel Berteaud 2023-07-19 12:00:08 +02:00
parent 0ab5afe51b
commit a47b4985b2
3 changed files with 9 additions and 2 deletions

View File

@ -62,6 +62,10 @@ nomad_base_conf:
client:
# Should client be enabled
enabled: "{{ (inventory_hostname in nomad_servers | map('regex_replace', ':\\d+$', '')) | ternary(False, True) }}"
# Node pool
# node_pool: gateways
# host_volumes:
# - name: mysql
# path: /data/mysql

View File

@ -73,6 +73,9 @@ client {
"{{ server }}",
{% endfor %}
]
{% if nomad_conf.client.node_pool is defined %}
node_pool = "{{ nomad_conf.client.node_pool }}"
{% endif %}
{% for volume in nomad_conf.client.host_volumes %}
host_volume "{{ volume.name }}" {
path = "{{ volume.path }}"

View File

@ -1,9 +1,9 @@
---
# Version of Nomad to install
nomad_version: 1.5.6
nomad_version: 1.6.0
# URL of the archive
nomad_archive_url: https://releases.hashicorp.com/nomad/{{ nomad_version }}/nomad_{{ nomad_version }}_linux_amd64.zip
# Expected sha256 of the archive
nomad_archive_sha256: 65a7d5a4c6ade01a44292901b05a7c985b4459e0a079b5eb55f5d61474ee98e5
nomad_archive_sha256: c67a4874439b74a25751ebc5549f9873bc9db937d4509403c84e32cef4dae001