From: Austin Brown Date: Tue, 12 Jul 2016 01:59:38 +0000 (+0900) Subject: ceph-osd: Use the use_systemd fact when start directory-scenario OSDs X-Git-Tag: v1.0.6~66^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=efeb63c5775c32978731711383092ab425819607;p=ceph-ansible.git ceph-osd: Use the use_systemd fact when start directory-scenario OSDs --- diff --git a/roles/ceph-osd/tasks/scenarios/osd_directory.yml b/roles/ceph-osd/tasks/scenarios/osd_directory.yml index a7447948e..9cad4cfdf 100644 --- a/roles/ceph-osd/tasks/scenarios/osd_directory.yml +++ b/roles/ceph-osd/tasks/scenarios/osd_directory.yml @@ -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