From: Dimitri Savineau Date: Thu, 19 Dec 2019 17:03:57 +0000 (-0500) Subject: ceph-nfs: change ganesha CentOS repository X-Git-Tag: v6.0.0alpha1~155 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d4fd38c967fa94062c6bf1a345259c9117d7c2c5;p=ceph-ansible.git ceph-nfs: change ganesha CentOS repository Since we don't have nfs-ganesha builds available on CentOS 8 at the moment on shaman then we can use the alternative repository at [1] [1] https://download.nfs-ganesha.org/3/LATEST/CentOS Signed-off-by: Dimitri Savineau --- diff --git a/roles/ceph-nfs/tasks/pre_requisite_non_container_red_hat.yml b/roles/ceph-nfs/tasks/pre_requisite_non_container_red_hat.yml index eca66bd81..80b512e5c 100644 --- a/roles/ceph-nfs/tasks/pre_requisite_non_container_red_hat.yml +++ b/roles/ceph-nfs/tasks/pre_requisite_non_container_red_hat.yml @@ -16,19 +16,23 @@ - name: red hat based systems - dev repo related tasks block: - - name: fetch nfs-ganesha red hat development repository - uri: - url: https://shaman.ceph.com/api/repos/nfs-ganesha/next/latest/{{ ansible_distribution | lower }}/{{ ansible_distribution_major_version }}/flavors/{{ nfs_ganesha_flavor }}/repo - return_content: yes - register: nfs_ganesha_dev_yum_repo + - 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 development repository - copy: - content: "{{ nfs_ganesha_dev_yum_repo.content }}" - dest: /etc/yum.repos.d/nfs-ganesha-dev.repo - owner: root - group: root - backup: yes + - 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 when: - nfs_ganesha_dev | bool - ceph_repository == 'dev'