Currently podman installation is very tied to RHEL 8 even if we're
able to install it on Debian/Ubuntu distribution.
This patch changes the way we are starting or not the (fat) container
daemon. Before the condition was based on the distribution release
and now on the container_service_name variable.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit
d2ad191eca015ba3a6a66b4bc16f5c19cf7053ed)
enabled: yes
tags:
with_pkg
- when: not (ansible_os_family == 'RedHat' and
- ansible_distribution_major_version == '8')
+ when: container_service_name == 'docker'
- name: ensure tmpfiles.d is present
lineinfile:
---
container_package_name: podman
+container_service_name: podman
container_binding_name: podman