mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-08-04 14:00
This commit is contained in:
@@ -86,6 +86,13 @@ client {
|
||||
plugin "docker" {
|
||||
config {
|
||||
allow_privileged = {{ nomad_conf.client.task_drivers.docker.allow_privileged | ternary('true', 'false') }}
|
||||
{% if nomad_conf.client.task_drivers.docker.allow_caps is defined %}
|
||||
allow_caps = [
|
||||
{% for cap in nomad_conf.client.task_drivers.docker.allow_caps %}
|
||||
"{{ cap }}",
|
||||
{% endfor %}
|
||||
]
|
||||
{% endif %}
|
||||
}
|
||||
}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user