From 205f53b6e6bc4ee6208cd2f1caadbf18e80c7fa9 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 9 Sep 2022 18:47:29 +0200 Subject: [PATCH] preflight: fix a typo 46d6d59b1ea05cb0ddc79299aa39f51750202cb4 introduced a typo 'distribution_major_version' is the fact i wanted to use intead. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2124919 Spotted-by: Dimitri Savineau Signed-off-by: Guillaume Abrioux (cherry picked from commit b6525c5cacf3fd34b68c0eba7b437d1119ee3df0) --- cephadm-preflight.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cephadm-preflight.yml b/cephadm-preflight.yml index 036b7c4..2046477 100644 --- a/cephadm-preflight.yml +++ b/cephadm-preflight.yml @@ -52,7 +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 + when: ansible_facts['distribution_major_version'] | int == 8 - name: enable repo from download.ceph.com when: ceph_origin == 'community'