mirror of https://github.com/ceph/ceph-ansible.git
16 lines
643 B
YAML
16 lines
643 B
YAML
---
|
|
- 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:
|
|
- nfs_obj_gw | bool
|
|
- 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_facts['distribution'] == 'openSUSE Leap'
|