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 <dsavinea@redhat.com>
pull/3689/head
Dimitri Savineau 2019-03-04 11:10:24 -05:00 committed by mergify[bot]
parent 4d32ecc980
commit 53514a5b50
1 changed files with 14 additions and 1 deletions

View File

@ -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