From 5622c94e8bd7821f94f1f016563b052a3587c9f5 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Fri, 17 Feb 2017 14:31:25 -0600 Subject: [PATCH] rolling-update: do not use upstart to stop mons when using systemd Signed-off-by: Andrew Schoen --- infrastructure-playbooks/rolling_update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 9623d392c..a1f4b3e5a 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -78,7 +78,7 @@ name: ceph-mon state: stopped args: id={{ ansible_hostname }} - when: ansible_service_mgr == 'systemd' + when: ansible_service_mgr == 'upstart' - name: stop ceph mons with sysvinit service: