From efeb63c5775c32978731711383092ab425819607 Mon Sep 17 00:00:00 2001 From: Austin Brown Date: Tue, 12 Jul 2016 10:59:38 +0900 Subject: [PATCH] ceph-osd: Use the use_systemd fact when start directory-scenario OSDs --- roles/ceph-osd/tasks/scenarios/osd_directory.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5