]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-nfs: add nfs-ganesha-rados-urls package
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 6 Feb 2020 20:41:46 +0000 (15:41 -0500)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 17 Feb 2020 15:00:44 +0000 (10:00 -0500)
Since nfs-ganesha 2.8.3 the rados-urls library has been move to a
dedicated package.
We don't have the same nfs-ganesha 2.8.x between the community and rhcs
repositories.

community: 2.8.1
rhcs: 2.8.3

As a workaround we will install that package only for rhcs setup.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 0a3e85e8cabf69a68329c749db277f9527cfc053)

roles/ceph-nfs/tasks/pre_requisite_non_container_red_hat.yml

index a08d9c15a5e9da54cdae993881471b5b22a4b9e5..d2c1ff20ef59bf1e55e080b8f7cf3345119bb953 100644 (file)
       register: result
       until: result is succeeded
       when: nfs_obj_gw | bool
+
+    - name: install nfs-ganesha-rados-urls
+      package:
+        name: nfs-ganesha-rados-urls
+        state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
+      register: result
+      until: result is succeeded
+      when:
+        - nfs_obj_gw | bool
+        - ceph_repository == 'rhcs'