Merge pull request #877 from aluminous/master

ceph-osd: Use the use_systemd fact when starting directory-scenario OSDs
pull/880/head
Leseb 2016-07-12 10:54:20 +02:00 committed by GitHub
commit b3b31f9f43
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