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
|
enabled: yes
|
||||||
tags:
|
tags:
|
||||||
with_pkg
|
with_pkg
|
||||||
when: not (ansible_os_family == 'RedHat' and
|
when: container_service_name == 'docker'
|
||||||
ansible_distribution_major_version == '8')
|
|
||||||
|
|
||||||
- name: ensure tmpfiles.d is present
|
- name: ensure tmpfiles.d is present
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
---
|
---
|
||||||
container_package_name: podman
|
container_package_name: podman
|
||||||
|
container_service_name: podman
|
||||||
container_binding_name: podman
|
container_binding_name: podman
|
||||||
|
|
Loading…
Reference in New Issue