2 enabled = {{ nomad_node_server | bool | lower }}
4 {% if nomad_node_server | bool -%}
5 bootstrap_expect = {{ nomad_bootstrap_expect }}
7 {% if nomad_node_server | bool -%}
11 {% if nomad_authoritative_region is defined %}
12 authoritative_region = "{{ nomad_authoritative_region }}"
15 {% if nomad_use_consul == False %}
16 {% if nomad_retry_join | bool -%}
18 {%- set comma = joiner(",") -%}
19 {% for server in nomad_servers -%}
20 {{ comma() }}"{{ hostvars[server]['nomad_advertise_address'] | ipwrap }}"
22 retry_max = {{ nomad_retry_max }}
23 retry_interval = "{{ nomad_retry_interval }}"
26 {%- set comma = joiner(",") -%}
27 {% for server in nomad_servers -%}
28 {{ comma() }}"{{ hostvars[server]['nomad_advertise_address'] | ipwrap }}"
33 encrypt = "{{ nomad_encrypt | default('') }}"
35 {% if nomad_node_gc_threshold -%}
36 node_gc_threshold = "{{ nomad_node_gc_threshold }}"
39 {% if nomad_job_gc_interval -%}
40 job_gc_interval = "{{ nomad_job_gc_interval }}"
43 {% if nomad_job_gc_threshold -%}
44 job_gc_threshold = "{{ nomad_job_gc_threshold }}"
47 {% if nomad_eval_gc_threshold -%}
48 eval_gc_threshold = "{{ nomad_eval_gc_threshold }}"
51 {% if nomad_deployment_gc_threshold -%}
52 deployment_gc_threshold = "{{ nomad_deployment_gc_threshold }}"