mirror of https://github.com/ceph/ceph-ansible.git
facts: set container_binary fact in non-containerized deployment
This is needed for the ceph-dashboard implementation since it requires to run containerized application which aren't packaged as RPMs. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/3991/head
parent
3578d576a4
commit
6d9dbb1d39
|
@ -20,7 +20,6 @@
|
||||||
- name: set_fact container_binary
|
- name: set_fact container_binary
|
||||||
set_fact:
|
set_fact:
|
||||||
container_binary: "{{ 'podman' if (podman_binary.stat.exists and ansible_distribution == 'Fedora') or (ansible_os_family == 'RedHat' and ansible_distribution_major_version == '8') else 'docker' }}"
|
container_binary: "{{ 'podman' if (podman_binary.stat.exists and ansible_distribution == 'Fedora') or (ansible_os_family == 'RedHat' and ansible_distribution_major_version == '8') else 'docker' }}"
|
||||||
when: containerized_deployment
|
|
||||||
|
|
||||||
# Set ceph_release to ceph_stable by default
|
# Set ceph_release to ceph_stable by default
|
||||||
- name: set_fact ceph_release ceph_stable_release
|
- name: set_fact ceph_release ceph_stable_release
|
||||||
|
|
Loading…
Reference in New Issue