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>
(cherry picked from commit 6d9dbb1d39)
pull/3999/head
Guillaume Abrioux 2019-05-13 16:34:53 +02:00
parent 997d179b7c
commit 4702194d6e
1 changed files with 0 additions and 1 deletions

View File

@ -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