From 53514a5b5021ab02034528760c89eb55cd7920ba Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Mon, 4 Mar 2019 11:10:24 -0500 Subject: [PATCH] common: Add noarch to community repository The ceph stable community repository only enables the basearch packages url. Adding the noarch url because starting with nautilus release, some packages are added there and useful for mgr or grafana. Signed-off-by: Dimitri Savineau --- .../installs/redhat_community_repository.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/roles/ceph-common/tasks/installs/redhat_community_repository.yml b/roles/ceph-common/tasks/installs/redhat_community_repository.yml index 3e97890e1..c2d819e3e 100644 --- a/roles/ceph-common/tasks/installs/redhat_community_repository.yml +++ b/roles/ceph-common/tasks/installs/redhat_community_repository.yml @@ -9,10 +9,23 @@ - name: configure red hat ceph stable community repository yum_repository: name: ceph_stable - description: Ceph Stable repo + description: Ceph Stable $basearch repo gpgcheck: yes state: present gpgkey: "{{ ceph_stable_key }}" baseurl: "{{ ceph_mirror }}/rpm-{{ ceph_stable_release }}/{{ ceph_stable_redhat_distro }}/$basearch" + file: ceph_stable + register: result + until: result is succeeded + +- name: configure red hat ceph stable noarch community repository + yum_repository: + name: ceph_stable_noarch + description: Ceph Stable noarch repo + gpgcheck: yes + state: present + gpgkey: "{{ ceph_stable_key }}" + baseurl: "{{ ceph_mirror }}/rpm-{{ ceph_stable_release }}/{{ ceph_stable_redhat_distro }}/noarch" + file: ceph_stable register: result until: result is succeeded \ No newline at end of file