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
Guillaume Abrioux 2019-05-13 16:34:53 +02:00
parent 3578d576a4
commit 6d9dbb1d39
1 changed files with 0 additions and 1 deletions

View File

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