mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-22 21:23:23 +02:00
Update to 2023-07-19 12:00
This commit is contained in:
parent
0ab5afe51b
commit
a47b4985b2
@ -62,6 +62,10 @@ nomad_base_conf:
|
|||||||
client:
|
client:
|
||||||
# Should client be enabled
|
# Should client be enabled
|
||||||
enabled: "{{ (inventory_hostname in nomad_servers | map('regex_replace', ':\\d+$', '')) | ternary(False, True) }}"
|
enabled: "{{ (inventory_hostname in nomad_servers | map('regex_replace', ':\\d+$', '')) | ternary(False, True) }}"
|
||||||
|
|
||||||
|
# Node pool
|
||||||
|
# node_pool: gateways
|
||||||
|
|
||||||
# host_volumes:
|
# host_volumes:
|
||||||
# - name: mysql
|
# - name: mysql
|
||||||
# path: /data/mysql
|
# path: /data/mysql
|
||||||
|
@ -73,6 +73,9 @@ client {
|
|||||||
"{{ server }}",
|
"{{ server }}",
|
||||||
{% endfor %}
|
{% 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 %}
|
{% for volume in nomad_conf.client.host_volumes %}
|
||||||
host_volume "{{ volume.name }}" {
|
host_volume "{{ volume.name }}" {
|
||||||
path = "{{ volume.path }}"
|
path = "{{ volume.path }}"
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
# Version of Nomad to install
|
# Version of Nomad to install
|
||||||
nomad_version: 1.5.6
|
nomad_version: 1.6.0
|
||||||
# URL of the archive
|
# URL of the archive
|
||||||
nomad_archive_url: https://releases.hashicorp.com/nomad/{{ nomad_version }}/nomad_{{ nomad_version }}_linux_amd64.zip
|
nomad_archive_url: https://releases.hashicorp.com/nomad/{{ nomad_version }}/nomad_{{ nomad_version }}_linux_amd64.zip
|
||||||
# Expected sha256 of the archive
|
# Expected sha256 of the archive
|
||||||
nomad_archive_sha256: 65a7d5a4c6ade01a44292901b05a7c985b4459e0a079b5eb55f5d61474ee98e5
|
nomad_archive_sha256: c67a4874439b74a25751ebc5549f9873bc9db937d4509403c84e32cef4dae001
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user