2 enabled = {{ nomad_node_server | bool | lower }}
4 {% if nomad_node_server | bool -%}
5 bootstrap_expect = {{ nomad_bootstrap_expect }}
8 {% if nomad_authoritative_region is defined %}
9 authoritative_region = "{{ nomad_authoritative_region }}"
12 {% if nomad_use_consul == False %}
13 {% if nomad_retry_join | bool -%}
15 {%- set comma = joiner(",") -%}
16 {% for server in nomad_servers -%}
17 {{ comma() }}"{{ hostvars[server]['nomad_advertise_address'] | ipwrap }}"
19 retry_max = {{ nomad_retry_max }}
20 retry_interval = "{{ nomad_retry_interval }}"
23 {%- set comma = joiner(",") -%}
24 {% for server in nomad_servers -%}
25 {{ comma() }}"{{ hostvars[server]['nomad_advertise_address'] | ipwrap }}"
30 encrypt = "{{ nomad_encrypt | default('') }}"
32 {% if nomad_node_gc_threshold -%}
33 node_gc_threshold = "{{ nomad_node_gc_threshold }}"
36 {% if nomad_job_gc_interval -%}
37 job_gc_interval = "{{ nomad_job_gc_interval }}"
40 {% if nomad_job_gc_threshold -%}
41 job_gc_threshold = "{{ nomad_job_gc_threshold }}"
44 {% if nomad_eval_gc_threshold -%}
45 eval_gc_threshold = "{{ nomad_eval_gc_threshold }}"
48 {% if nomad_deployment_gc_threshold -%}
49 deployment_gc_threshold = "{{ nomad_deployment_gc_threshold }}"