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 2367f69 commit db855e6
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 @@ -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
Expand All @@ -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
Expand Down

0 comments on commit db855e6

Please sign in to comment.