ceph-ansible/roles/ceph-validate/tasks/check_rbdmirror.yml

12 lines
423 B
YAML

---
- name: ensure ceph_rbd_mirror_pool is set
fail:
msg: "ceph_rbd_mirror_pool needs to be provided"
when: ceph_rbd_mirror_pool | default("") | length == 0
- name: ensure ceph_rbd_mirror_remote_cluster is set
fail:
msg: "ceph_rbd_mirror_remote_cluster needs to be provided"
when:
- ceph_rbd_mirror_remote_cluster | default("") | length == 0
- ceph_rbd_mirror_remote_user | default("") | length > 0