From 6ab8913724b349524998273bbf2097045f59177f Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 17 Feb 2023 19:14:35 +0100 Subject: [PATCH] preflight: fix structure of `_ceph_repo` 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 --- cephadm-preflight.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cephadm-preflight.yml b/cephadm-preflight.yml index cabd21c..a3085e7 100644 --- a/cephadm-preflight.yml +++ b/cephadm-preflight.yml @@ -55,10 +55,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: