2015-05-15 20:32:26 +08:00
|
|
|
---
|
2015-05-16 00:27:41 +08:00
|
|
|
- name: make sure journal_size configured
|
2015-05-15 20:32:26 +08:00
|
|
|
fail: msg="journal_size must be configured. See http://ceph.com/docs/master/rados/configuration/osd-config-ref/"
|
|
|
|
when: journal_size|int == 0
|
|
|
|
|
2015-05-16 00:27:41 +08:00
|
|
|
- name: make sure monitor_interface configured
|
2015-05-15 20:32:26 +08:00
|
|
|
fail: msg="monitor_interface must be configured. Interface for the monitor to listen on"
|
|
|
|
when: monitor_interface == 'interface'
|
|
|
|
|
2015-05-16 00:27:41 +08:00
|
|
|
- name: make sure cluster_network configured
|
2015-05-15 20:32:26 +08:00
|
|
|
fail: msg="cluster_network must be configured. Ceph replication network"
|
|
|
|
when: cluster_network == '0.0.0.0/0'
|
|
|
|
|
2015-05-16 00:27:41 +08:00
|
|
|
- name: make sure public_network configured
|
2015-05-15 20:32:26 +08:00
|
|
|
fail: msg="public_network must be configured. Ceph public network"
|
|
|
|
when: public_network == '0.0.0.0/0'
|