91fd1c947f3dc9af6b291f498f848a4903f1c8eb
[csit.git] / resources / tools / testbed-setup / ansible / roles / nomad / templates / client.hcl.j2
1 client {
2     enabled = {{ nomad_node_client | bool | lower }}
3     no_host_uuid = {{ nomad_no_host_uuid | bool | lower }}
4     node_class = "{{ nomad_node_class }}"
5
6     {% if nomad_servers -%}
7     servers = [ {{ nomad_servers }} ]
8     {% endif %}
9
10     {% if nomad_options -%}
11     options = {
12     {% for key, value in nomad_options.items() %}
13     "{{ key }}" = "{{ value }}"
14     {% endfor -%}
15     }
16     {% endif %}
17
18 }