Skip to content
Snippets Groups Projects
Commit 8f22bd0b authored by ale's avatar ale
Browse files

Do not install our storage.conf with podman v5

parent 97a776a8
No related branches found
No related tags found
No related merge requests found
Pipeline #84267 failed
......@@ -17,7 +17,7 @@
# Try to detect which podman version we're on based on source and
# distribution.
- set_fact:
podman_version: "{{ 3 if float_debian_dist in ('buster', 'bullseye') else 4 }}"
podman_version: "{{ podman_version_by_distro[float_debian_dist] }}"
when: "podman_package_source == 'debian'"
- set_fact:
podman_version: 4
......@@ -46,6 +46,7 @@
copy:
src: storage.conf
dest: "/etc/containers/storage.conf"
when: "podman_version < 5"
- file:
path: "/etc/containers/certs.d"
......
......@@ -3,3 +3,9 @@
podman_default_package_source_by_distro:
stretch: ai
buster: ai
podman_version_by_distro:
buster: 3
bullseye: 3
bookworm: 4
trixie: 5
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment