]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-nfs: fail on openSUSE Leap using distro packages
authorJohannes Kastl <kastl@b1-systems.de>
Fri, 16 Aug 2019 09:53:16 +0000 (11:53 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 21 Aug 2019 07:58:54 +0000 (09:58 +0200)
roles/ceph-validate/tasks/check_nfs.yml: fail on openSUSE Leap
using `ceph_origin = distro`, as the ganesha packages are not available from
the distribution repositories

Fixes: #4342
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
roles/ceph-validate/tasks/check_nfs.yml

index 1f78eb4d04ae055009e62433d9c461b032b25614..99895dcbb21f4b4abb1441f473807e8618ac8fc8 100644 (file)
@@ -6,3 +6,10 @@
     - nfs_obj_gw
     - groups.get(mon_group_name, []) | length == 0
     - (ceph_nfs_rgw_access_key is undefined or ceph_nfs_rgw_secret_key is undefined)
+
+- name: fail on openSUSE Leap 15.x using distro packages
+  fail:
+    msg: "ceph-nfs packages are not available from openSUSE Leap 15.x repositories (ceph_origin = 'distro')"
+  when:
+    - ceph_origin == 'distro'
+    - ansible_distribution == 'openSUSE Leap'