2017-10-19 00:03:30 +08:00
|
|
|
---
|
|
|
|
- name: make sure monitor_interface, monitor_address or monitor_address_block is defined
|
|
|
|
fail:
|
|
|
|
msg: "you must set monitor_interface, monitor_address or monitor_address_block"
|
|
|
|
when:
|
|
|
|
- mon_group_name in group_names
|
|
|
|
- monitor_interface == 'interface'
|
|
|
|
- monitor_address == "0.0.0.0"
|
|
|
|
- monitor_address_block == 'subnet'
|
|
|
|
|
|
|
|
- name: make sure radosgw_interface, radosgw_address or radosgw_address_block is defined
|
|
|
|
fail:
|
|
|
|
msg: "you must set radosgw_interface, radosgw_address or radosgw_address_block"
|
|
|
|
when:
|
|
|
|
- rgw_group_name in group_names
|
|
|
|
- radosgw_interface == 'interface'
|
2018-11-29 03:53:10 +08:00
|
|
|
- radosgw_address == '0.0.0.0'
|
2017-10-19 00:03:30 +08:00
|
|
|
- radosgw_address_block == 'subnet'
|