2015-03-26 22:43:54 +08:00
|
|
|
---
|
2017-01-20 17:14:35 +08:00
|
|
|
- name: start the monitor service
|
2015-11-21 05:34:29 +08:00
|
|
|
service:
|
2016-06-09 21:35:57 +08:00
|
|
|
name: ceph-mon@{{ monitor_name }}
|
|
|
|
state: started
|
|
|
|
enabled: yes
|
2015-11-21 05:34:29 +08:00
|
|
|
changed_when: false
|
2017-03-29 11:11:04 +08:00
|
|
|
|
|
|
|
# NOTE: This patch only affects Kraken. This fixes a bug when the monitor service
|
|
|
|
# does not start automatically after a reboot. Fix proposed upstream: ceph/ceph#14226
|
|
|
|
- name: enable the ceph-mon.target service
|
|
|
|
systemd:
|
|
|
|
name: ceph-mon.target
|
|
|
|
enabled: yes
|
|
|
|
masked: no
|
|
|
|
changed_when: false
|