Skip to content

Commit

Permalink
preflight: generalize repo and key task names
Browse files Browse the repository at this point in the history
Ansible runs these tasks for both "community" or "ibm". Remove the
references to upstream/community in the task names.

(cherry picked from commit 19ad442)
  • Loading branch information
ktdreyer authored and guits committed Feb 17, 2023
1 parent 414ab63 commit ead1745
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cephadm-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
rhsm_repository:
name: "rhceph-{{ ceph_rhcs_version }}-tools-for-rhel-8-{{ ansible_facts['architecture'] }}-rpms"

- name: enable repo from download.ceph.com
- name: enable ceph package repositories
when: ceph_origin in ['community', 'ibm']
block:
- name: set_fact _ceph_repo
Expand All @@ -61,7 +61,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
Expand Down

0 comments on commit ead1745

Please sign in to comment.