mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #877 from aluminous/master
ceph-osd: Use the use_systemd fact when starting directory-scenario OSDspull/880/head
commit
b3b31f9f43
|
@ -31,11 +31,11 @@
|
|||
name: ceph
|
||||
state: started
|
||||
enabled: yes
|
||||
when: init_system != "systemd"
|
||||
when: not use_systemd
|
||||
|
||||
- name: start and add the OSD target to the systemd sequence
|
||||
service:
|
||||
name: ceph.target
|
||||
state: started
|
||||
enabled: yes
|
||||
when: init_system == "systemd"
|
||||
when: use_systemd
|
||||
|
|
Loading…
Reference in New Issue