Merge pull request #608 from deberon/systemd_ceph.target

Use ceph.target if available
pull/611/head
Leseb 2016-03-08 09:29:23 +01:00
commit ba354cc8ca
1 changed files with 8 additions and 0 deletions

View File

@ -31,3 +31,11 @@
name: ceph
state: started
enabled: yes
when: ansible_service_mgr != "systemd"
- name: start and add the OSD target to the systemd sequence
service:
name: ceph.target
state: started
enabled: yes
when: ansible_service_mgr == "systemd"