From: Johannes Kastl Date: Fri, 16 Aug 2019 09:53:16 +0000 (+0200) Subject: ceph-nfs: fail on openSUSE Leap using distro packages X-Git-Tag: v5.0.0alpha1~157 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=11aa5dbb588e69decb9fba204f20a8d021815f98;p=ceph-ansible.git ceph-nfs: fail on openSUSE Leap using distro packages 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 --- diff --git a/roles/ceph-validate/tasks/check_nfs.yml b/roles/ceph-validate/tasks/check_nfs.yml index 1f78eb4d0..99895dcbb 100644 --- a/roles/ceph-validate/tasks/check_nfs.yml +++ b/roles/ceph-validate/tasks/check_nfs.yml @@ -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'