Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Infra: Ansible sync
[csit.git]
/
resources
/
tools
/
testbed-setup
/
ansible
/
roles
/
nomad
/
templates
/
client.hcl.j2
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
f156161
..
f245697
100644
(file)
--- a/
resources/tools/testbed-setup/ansible/roles/nomad/templates/client.hcl.j2
+++ b/
resources/tools/testbed-setup/ansible/roles/nomad/templates/client.hcl.j2
@@
-19,4
+19,13
@@
client {
}
{% endif %}
+ {% if nomad_volumes -%}
+ {% for volume in nomad_volumes -%}
+ host_volume "{{ volume.name }}" {
+ path = "{{ volume.path }}"
+ read_only = {{ volume.read_only | bool | lower }}
+ }
+ {% endfor -%}
+ {% endif %}
+
}