mirror of https://github.com/ceph/ceph-ansible.git
container-common: allow podman for other distros
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 d2ad191eca
)
pull/3981/head
parent
f34c1dcd9d
commit
bd33bcef2b
|
@ -40,8 +40,7 @@
|
|||
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:
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
container_package_name: podman
|
||||
container_service_name: podman
|
||||
container_binding_name: podman
|
||||
|
|
Loading…
Reference in New Issue