ceph-mds: fix MDS conditions

We don't need to set is_systemd when we are applying a configuration for
a sysvinit init.

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/764/head
Sébastien Han 2016-05-09 00:34:24 +02:00
parent 4e9b07c3c8
commit 7949c2d512
1 changed files with 2 additions and 2 deletions

View File

@ -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)