]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-defaults: use podman on Fedora only
authorSébastien Han <seb@redhat.com>
Tue, 20 Nov 2018 10:28:02 +0000 (11:28 +0100)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Tue, 27 Nov 2018 16:47:40 +0000 (16:47 +0000)
It seems Atomic 7.5 has podman already, however this is an old version
(0.4). The podman integration is targetting RHEL 8, so Fedora is
currently the closest to that.

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-defaults/tasks/facts.yml

index 713359286e825a8ad25a7087fcf2bac9669dd15b..d5912202dcb7209936aa6679dc7b7d1572872b02 100644 (file)
@@ -16,7 +16,9 @@
 - name: set_fact is_podman
   set_fact:
     is_podman: "{{ podman_binary.stat.exists }}"
-  when: is_atomic
+  when:
+    - is_atomic
+    - ansible_distribution == 'Fedora'
 
 - name: set_fact container_binary
   set_fact: