ansible-ceph/roles/ceph-validate/tasks/check_rbdmirror.yml
2026-04-06 07:08:17 +03:00

13 lines
456 B
YAML

---
- name: Ensure ceph_rbd_mirror_pool is set
ansible.builtin.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
ansible.builtin.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