Skip to content

Commit

Permalink
preflight: fix structure of _ceph_repo
Browse files Browse the repository at this point in the history
This is a legacy becasue the first intent was to make
a list with multiple repos but this variable now needs to be a dict.

Signed-off-by: Guillaume Abrioux <gabrioux@Guillaumes-MacBook-Pro.local>
(cherry picked from commit 6ab8913)
  • Loading branch information
Guillaume Abrioux authored and guits committed Feb 17, 2023
1 parent 5f0a075 commit 64172bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cephadm-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
- name: set_fact _ceph_repo
set_fact:
_ceph_repo:
- name: ceph_stable
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 }}"
name: ceph_stable
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 }}"

- name: configure ceph community repository stable key
rpm_key:
Expand Down

0 comments on commit 64172bb

Please sign in to comment.