mirror of https://github.com/ceph/ceph-ansible.git
ceph-common: make sure monitor_interface or monitor_address is defined
Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/1666/head
parent
7029be70fa
commit
4e87c1f0f5
|
@ -33,8 +33,10 @@
|
|||
tags:
|
||||
- package-install
|
||||
|
||||
- name: make sure monitor_interface is defined
|
||||
- name: make sure monitor_interface or monitor_address is defined
|
||||
fail:
|
||||
msg: "you must set monitor_interface"
|
||||
msg: "you must set monitor_interface or monitor_address"
|
||||
when:
|
||||
- monitor_interface == 'interface'
|
||||
- monitor_address == "0.0.0.0"
|
||||
- mon_group_name in group_names
|
||||
|
|
Loading…
Reference in New Issue