mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 08:15:54 +02:00
Update to 2022-08-01 16:00
This commit is contained in:
@@ -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:
|
||||
|
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user