This commit is contained in:
Daniel Akulenok
2026-02-18 12:34:10 +01:00
parent 034cc628ce
commit 19502bf14a
4 changed files with 22 additions and 9 deletions

View File

@@ -168,7 +168,10 @@ podman_enable_api_service: false
podman_enable_auto_update: false
# Determine if Quadlet should be used (Debian 13+ or other distros)
podman_use_quadlet: "{{ not (ansible_distribution | default('Debian') == 'Debian' and ansible_distribution_major_version | default('13') | int < 13) }}"
podman_use_quadlet: "{{
not (ansible_distribution | default('Debian') == 'Debian'
and ansible_distribution_major_version | int < 13) }}"
podman_mode: "{{ 'quadlet' if podman_use_quadlet else 'started' }}"
# Container management