mirror of https://github.com/ceph/ceph-ansible.git
9 lines
400 B
YAML
9 lines
400 B
YAML
---
|
|
- name: make sure monitor_interface or monitor_address or monitor_address_block is configured
|
|
fail:
|
|
msg: "Either monitor_interface, monitor_address, or monitor_address_block must be configured. Interface for the monitor to listen on or IP address of that interface"
|
|
when:
|
|
- monitor_interface == 'interface'
|
|
- monitor_address == '0.0.0.0'
|
|
- monitor_address_block | length == 0
|