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