mirror of https://github.com/ceph/ceph-ansible.git
ceph-osd: Use the use_systemd fact when start directory-scenario OSDs
parent
703e5fed82
commit
efeb63c577
|
@ -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