From 2d8ed4cc52fc314ac48a9a6b683e553ecd607c79 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Wed, 10 Jul 2019 14:58:58 -0400 Subject: [PATCH] ceph-infra: update handler with daemon variable Both ntp and chrony daemon use variable for the service name because it could be different depending on the GNU/Linux distribution. This has been update in 9d88d3199 for chrony but only for the start part not for the handler. The commit fixes this for both ntp and chrony. Signed-off-by: Dimitri Savineau (cherry picked from commit 0ae0193144897676b56e1d4142565e759531fd35) --- roles/ceph-infra/handlers/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ceph-infra/handlers/main.yml b/roles/ceph-infra/handlers/main.yml index 0f3a2dd02..d18b5d955 100644 --- a/roles/ceph-infra/handlers/main.yml +++ b/roles/ceph-infra/handlers/main.yml @@ -2,14 +2,14 @@ - name: disable ntpd failed_when: false service: - name: ntpd + name: '{{ ntp_service_name }}' state: stopped enabled: no - name: disable chronyd failed_when: false service: - name: chronyd + name: '{{ chrony_daemon_name }}' enabled: no state: stopped -- 2.39.5