mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-31 03:35:45 +02:00
Update to 2023-07-09 23:00
This commit is contained in:
@@ -133,6 +133,27 @@ plugin "docker" {
|
||||
}
|
||||
}
|
||||
|
||||
{% if 'podman' in nomad_enabled_task_drivers %}
|
||||
plugin "podman-driver-podman" {
|
||||
config {
|
||||
recover_stopped = {{ nomad_conf.client.task_drivers.podman.recover_stopped | ternary('true', 'false') }}
|
||||
{% if nomad_conf.client.task_drivers.podman.socket_path is defined %}
|
||||
socket_path = "{{ nomad_conf.client.task_drivers.podman.socket_path }}"
|
||||
{% endif %}
|
||||
{% if nomad_conf.client.task_drivers.podman.volumes.enabled %}
|
||||
volumes {
|
||||
enabled = true
|
||||
}
|
||||
{% endif %}
|
||||
extra_labels = [
|
||||
{% for label in nomad_conf.client.task_drivers.podman.extra_labels %}
|
||||
"{{ label }}",
|
||||
{% endfor %}
|
||||
]
|
||||
}
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
plugin "raw_exec" {
|
||||
config {
|
||||
enabled = {{ ('raw_exec' in nomad_enabled_task_drivers) | ternary('true', 'false') }}
|
||||
|
Reference in New Issue
Block a user