ceph-osd: Use the use_systemd fact when start directory-scenario OSDs

pull/877/head
Austin Brown 2016-07-12 10:59:38 +09:00
parent 703e5fed82
commit efeb63c577
1 changed files with 2 additions and 2 deletions

View File

@ -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