ceph-nfs: change ganesha devel source

The download.nfs-ganesha.org source for nfs-ganesha on CentOS isn't
available anymore.
Let's switch back to shaman since we have builds available now.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
pull/5525/head
Dimitri Savineau 2020-07-02 15:23:09 -04:00 committed by Guillaume Abrioux
parent fc599ed9f5
commit 1438ca0120
1 changed files with 4 additions and 16 deletions

View File

@ -30,22 +30,10 @@
- name: red hat based systems - dev repo related tasks
block:
- name: add nfs-ganesha dev repo
yum_repository:
name: nfs-ganesha
baseurl: https://download.nfs-ganesha.org/3/LATEST/CentOS/el-$releasever/$basearch
description: nfs-ganesha repository
gpgcheck: true
gpgkey: https://download.nfs-ganesha.org/3/rsa.pub
file: nfs-ganesha-dev
- name: add nfs-ganesha dev noarch repo
yum_repository:
name: nfs-ganesha-noarch
baseurl: https://download.nfs-ganesha.org/3/LATEST/CentOS/el-$releasever/noarch
description: nfs-ganesha noarch repository
gpgcheck: true
gpgkey: https://download.nfs-ganesha.org/3/rsa.pub
file: nfs-ganesha-dev
get_url:
url: 'https://shaman.ceph.com/api/repos/nfs-ganesha/next/latest/{{ ansible_distribution | lower }}/{{ ansible_distribution_major_version }}/flavors/{{ nfs_ganesha_flavor }}/repo'
dest: /etc/yum.repos.d/nfs-ganesha-dev.repo
force: true
when:
- nfs_ganesha_dev | bool
- ceph_repository == 'dev'