Update to 2022-08-01 16:00

This commit is contained in:
Daniel Berteaud
2022-08-01 16:00:18 +02:00
parent 1650198b44
commit 576eba31fe
11 changed files with 159 additions and 73 deletions

View File

@@ -20,6 +20,13 @@ nomad_servers: []
# Nomad configuration
nomad_base_conf:
log_level: INFO
# You can define the datacenter in which this agent is running. The default value is dc1
# datacenter: dc1
# Node name, which should be uniq in the region. Default is the hostname
# name: nomade-fr-zone-c
# Client related settings
# The default is to act as a client if the hostname is not listed in nomad servers
client:

View File

@@ -2,6 +2,16 @@ data_dir = "{{ nomad_root_dir }}/data"
log_level = "{{ nomad_conf.log_level }}"
bind_addr = "0.0.0.0"
{% if nomad_conf.datacenter is defined %}
datacenter = "{{ nomad_conf.datacenter }}"
{% endif %}
{% if nomad_conf.name is defined %}
name = {{ nomad_conf.name }}
{% endif %}
disable_update_check = true
advertise {
{% for service in nomad_services.keys() | list %}
{% if nomad_services[service].advertise is defined %}