From 6e8c858980030666202a19a6040e7bee880905bd Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 7 Sep 2022 14:58:19 +0200 Subject: [PATCH] preflight: remove old rhceph 4 only on el8 This task doesn't make sense when running on el9 and makes the playbook fail. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2124919 Signed-off-by: Guillaume Abrioux (cherry picked from commit 46d6d59b1ea05cb0ddc79299aa39f51750202cb4) --- cephadm-preflight.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/cephadm-preflight.yml b/cephadm-preflight.yml index 85961dd..036b7c4 100644 --- a/cephadm-preflight.yml +++ b/cephadm-preflight.yml @@ -52,6 +52,7 @@ - rhceph-4-tools-for-rhel-8-{{ ansible_facts['architecture'] }}-rpms - rhceph-4-mon-for-rhel-8-{{ ansible_facts['architecture'] }}-rpms - rhceph-4-osd-for-rhel-8-{{ ansible_facts['architecture'] }}-rpms + when: ansible_facts['architecture'] | int == 8 - name: enable repo from download.ceph.com when: ceph_origin == 'community'