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 <kastl@b1-systems.de>
(cherry picked from commit 11aa5dbb58)
pull/4367/head
Johannes Kastl 2019-08-16 11:53:16 +02:00 committed by Guillaume Abrioux
parent fcf571430b
commit 82ede0afdb
1 changed files with 7 additions and 0 deletions

View 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'