]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-osd: Use the use_systemd fact when start directory-scenario OSDs 877/head
authorAustin Brown <austin.brown@cdnetworks.co.kr>
Tue, 12 Jul 2016 01:59:38 +0000 (10:59 +0900)
committerAustin Brown <austin.brown@cdnetworks.co.kr>
Tue, 12 Jul 2016 02:00:49 +0000 (11:00 +0900)
roles/ceph-osd/tasks/scenarios/osd_directory.yml

index a7447948eaeb25c777841fa8005fe24d52c59a9f..9cad4cfdfba9229c0ae098f187a1b5ac15cbb77f 100644 (file)
     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