From: WingkaiHo Date: Mon, 27 Mar 2017 03:01:35 +0000 (+0800) Subject: enable ceph-mon.target service after monitor start, fix the ceph monitor service... X-Git-Tag: v2.2.0~16^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3366e869664af4443184f36261cff6b9cec9cd78;p=ceph-ansible.git enable ceph-mon.target service after monitor start, fix the ceph monitor service do not start when the ceph reboot --- diff --git a/roles/ceph-mon/tasks/start_monitor.yml b/roles/ceph-mon/tasks/start_monitor.yml index 4106efe2f..c1fd413ad 100644 --- a/roles/ceph-mon/tasks/start_monitor.yml +++ b/roles/ceph-mon/tasks/start_monitor.yml @@ -5,3 +5,9 @@ state: started enabled: yes changed_when: false + +- name: enable ceph-mon.target service + service: + name: ceph-mon.target + enabled: yes + changed_when: false