From db855e67433d87bb2bcb9e2c2ec210193121dd39 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Fri, 17 Feb 2023 13:56:04 -0500 Subject: [PATCH] preflight: generalize repo and key task names Ansible runs these tasks for both "community" or "ibm". Remove the references to upstream/community in the task names. (cherry picked from commit 19ad442679b91ee045582279a34451bb42b251b6) --- cephadm-preflight.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cephadm-preflight.yml b/cephadm-preflight.yml index 8abed1d..49068d3 100644 --- a/cephadm-preflight.yml +++ b/cephadm-preflight.yml @@ -49,7 +49,7 @@ - rhceph-4-osd-for-rhel-8-{{ ansible_facts['architecture'] }}-rpms when: ansible_facts['distribution_major_version'] | int == 8 - - name: enable repo from download.ceph.com + - name: enable ceph package repositories when: ceph_origin in ['community', 'ibm'] block: - name: set_fact _ceph_repo @@ -60,7 +60,7 @@ rpm_key: "{{ ceph_stable_key if ceph_origin == 'community' else ceph_ibm_key }}" baseurl: "{{ ceph_community_repo_baseurl if ceph_origin == 'community' else ceph_ibm_repo_baseurl }}" - - name: configure ceph community repository stable key + - name: configure ceph repository key rpm_key: key: "{{ _ceph_repo.rpm_key }}" state: present