aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/nomad/templates/client.hcl.j2
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2020-05-22 14:46:43 +0000
committerPeter Mikus <pmikus@cisco.com>2020-05-22 14:52:10 +0000
commit216073ac4b05619d9e9fc73131075597196af753 (patch)
tree3d5976c760a434c346575be598a1362a1a0f664e /resources/tools/testbed-setup/ansible/roles/nomad/templates/client.hcl.j2
parentae80dfa4c98049d96163b6ad3d67221a7851ba4b (diff)
Infra: Ansible Nomad II
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Iaa5c02d14223b578c316f48e31a0b3613303eecf
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/nomad/templates/client.hcl.j2')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/nomad/templates/client.hcl.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/templates/client.hcl.j2 b/resources/tools/testbed-setup/ansible/roles/nomad/templates/client.hcl.j2
index 91fd1c947f..c097d214a5 100644
--- a/resources/tools/testbed-setup/ansible/roles/nomad/templates/client.hcl.j2
+++ b/resources/tools/testbed-setup/ansible/roles/nomad/templates/client.hcl.j2
@@ -4,7 +4,7 @@ client {
node_class = "{{ nomad_node_class }}"
{% if nomad_servers -%}
- servers = [ {{ nomad_servers }} ]
+ servers = [ {% for ip_port in nomad_servers -%} "{{ ip_port }}" {% if not loop.last %},{% endif %}{%- endfor -%} ]
{% endif %}
{% if nomad_options -%}