mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-08-11 11:00
This commit is contained in:
@@ -164,3 +164,19 @@ telemetry {
|
||||
publish_allocation_metrics = {{ nomad_conf.telemetry.publish_allocation_metrics | ternary('true', 'false') }}
|
||||
publish_node_metrics = {{ nomad_conf.telemetry.publish_node_metrics | ternary('true', 'false') }}
|
||||
}
|
||||
|
||||
consul {
|
||||
{% if nomad_conf.consul.address is defined %}
|
||||
address = "{{ nomad_conf.consul.address }}"
|
||||
{% endif %}
|
||||
{% if nomad_conf.consul.allow_unauthenticated is defined %}
|
||||
allow_unauthenticated = {{ nomad_conf.consul.allow_unauthenticated | ternary('true', 'false') }}
|
||||
{% endif %}
|
||||
{% if nomad_conf.consul.tags is defined and nomad_conf.consul.tags is iterable %}
|
||||
tags = [
|
||||
{% for tag in nomad_conf.consul.tags %}
|
||||
"{{ tag }}"
|
||||
]
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
}
|
||||
|
Reference in New Issue
Block a user