mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-08-03 01:00
This commit is contained in:
@@ -74,8 +74,29 @@ client {
|
||||
node_class = "{{ nomad_conf.client.node_class }}"
|
||||
{% endif %}
|
||||
|
||||
options {
|
||||
"driver.allowlist" = "{{ nomad_enabled_task_drivers | join(',') }}"
|
||||
}
|
||||
}
|
||||
|
||||
{% if nomad_conf.client.enabled %}
|
||||
{% if 'docker' in nomad_enabled_task_drivers %}
|
||||
plugin "docker" {
|
||||
config {
|
||||
allow_privileged = {{ nomad_conf.client.task_drivers.docker.allow_privileged | ternary('true', 'false') }}
|
||||
}
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
{% if 'raw_exec' in nomad_enabled_task_drivers %}
|
||||
plugin "raw_exec" {
|
||||
config {
|
||||
enabled = true
|
||||
}
|
||||
}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
ui {
|
||||
enabled = {{ nomad_conf.ui.enabled | ternary('true', 'false') }}
|
||||
{% if nomad_conf.ui.consul_ui is defined %}
|
||||
|
Reference in New Issue
Block a user