mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-06-02 17:23:18 +02:00
Update to 2025-05-27 15:00
This commit is contained in:
parent
23f39f1115
commit
b6c1e1bbfd
@ -66,3 +66,7 @@
|
||||
when: item.create | default(False)
|
||||
tags: nomad
|
||||
|
||||
- name: Create host_volumes_dir directory
|
||||
file: path={{ nomad_conf.client.host_volumes_dir }} state=directory owner={{ nomad_user }} group={{ nomad_user }} mode=770
|
||||
when: nomad_conf.client.host_volumes_dir is defined
|
||||
tags: nomad
|
||||
|
@ -101,9 +101,11 @@ client {
|
||||
# Required for alloc to be able to reach themselves through an exposed port
|
||||
bridge_network_hairpin_mode = true
|
||||
|
||||
{% if nomad_conf.client.node_pool is defined %}
|
||||
node_pool = "{{ nomad_conf.client.node_pool }}"
|
||||
{% for conf in ['node_pool', 'host_volumes_dir'] %}
|
||||
{% if nomad_conf.client[conf] is defined %}
|
||||
{{ conf }} = "{{ nomad_conf.client[conf] }}"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if nomad_conf.client.drain_on_shutdown is defined %}
|
||||
drain_on_shutdown {
|
||||
|
Loading…
x
Reference in New Issue
Block a user