From 7949c2d5129ef13774757b3cc2ae0174d983f0b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Mon, 9 May 2016 00:34:24 +0200 Subject: [PATCH] ceph-mds: fix MDS conditions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't need to set is_systemd when we are applying a configuration for a sysvinit init. Signed-off-by: Sébastien Han --- roles/ceph-mds/tasks/pre_requisite.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ceph-mds/tasks/pre_requisite.yml b/roles/ceph-mds/tasks/pre_requisite.yml index fadae0155..cd16d76fa 100644 --- a/roles/ceph-mds/tasks/pre_requisite.yml +++ b/roles/ceph-mds/tasks/pre_requisite.yml @@ -76,7 +76,7 @@ - done - sysvinit changed_when: false - when: use_systemd + when: not use_systemd - name: enable systemd unit file for mds instance (for or after infernalis) file: @@ -103,7 +103,7 @@ args: mds.{{ mds_name }} changed_when: false when: - use_systemd and + not use_systemd and is_before_infernalis - name: start and add that the metadata service to the init sequence (systemd after hammer)