From: Guillaume Abrioux Date: Mon, 13 May 2019 14:34:53 +0000 (+0200) Subject: facts: set container_binary fact in non-containerized deployment X-Git-Tag: v4.0.0rc8~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4702194d6e4cf968cf8ec6de55859d07509f2868;p=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 (cherry picked from commit 6d9dbb1d3908507763c9f07609d7fe192ec51f5e) --- diff --git a/roles/ceph-facts/tasks/facts.yml b/roles/ceph-facts/tasks/facts.yml index 6753ce1be..2ede2a6f3 100644 --- a/roles/ceph-facts/tasks/facts.yml +++ b/roles/ceph-facts/tasks/facts.yml @@ -20,7 +20,6 @@ - name: set_fact container_binary 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' }}" - when: containerized_deployment # Set ceph_release to ceph_stable by default - name: set_fact ceph_release ceph_stable_release