Skip to content

Commit

Permalink
Merge pull request #214 from ceph/mergify/bp/quincy/pr-211
Browse files Browse the repository at this point in the history
cephadm-preflight: only use $basearch for IBM yum repo (backport #211)
  • Loading branch information
ktdreyer authored Feb 20, 2023
2 parents 77d946c + dfc1a68 commit e8cc376
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cephadm-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
description: "{{ 'Ceph Stable repo' if ceph_origin == 'community' else 'IBM Ceph repo' }}"
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 }}"
paths: "{{ [ 'noarch', '$basearch' ] if ceph_origin == 'community' else [ '$basearch' ] }}"

- name: configure ceph repository key
rpm_key:
Expand All @@ -79,9 +80,7 @@
priority: '2'
register: result
until: result is succeeded
loop:
- "$basearch"
- "noarch"
loop: "{{ _ceph_repo.paths }}"

- name: enable repo from shaman - dev
when: ceph_origin == 'shaman'
Expand Down

0 comments on commit e8cc376

Please sign in to comment.