2019-05-20 22:28:42 +08:00
|
|
|
---
|
|
|
|
- name: fail if ceph_nfs_rgw_access_key or ceph_nfs_rgw_secret_key are undefined (nfs standalone)
|
|
|
|
fail:
|
|
|
|
msg: "ceph_nfs_rgw_access_key and ceph_nfs_rgw_secret_key must be set if nfs_obj_gw is True"
|
|
|
|
when:
|
2020-09-26 00:15:02 +08:00
|
|
|
- nfs_obj_gw | bool
|
2019-05-20 22:28:42 +08:00
|
|
|
- groups.get(mon_group_name, []) | length == 0
|
|
|
|
- (ceph_nfs_rgw_access_key is undefined or ceph_nfs_rgw_secret_key is undefined)
|
2019-08-16 17:53:16 +08:00
|
|
|
|
|
|
|
- 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'
|