From ac3e18e4c1d508e7cf318550041babd47ac99dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Tue, 20 Nov 2018 11:28:02 +0100 Subject: [PATCH] ceph-defaults: use podman on Fedora only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- roles/ceph-defaults/tasks/facts.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/ceph-defaults/tasks/facts.yml b/roles/ceph-defaults/tasks/facts.yml index 713359286..d5912202d 100644 --- a/roles/ceph-defaults/tasks/facts.yml +++ b/roles/ceph-defaults/tasks/facts.yml @@ -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: