]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
setup_ntp: call handler to disable ntpd if chronyd used
authorPatrick C. F. Ernzer <pcfe@pcfe.net>
Thu, 7 Feb 2019 15:36:20 +0000 (16:36 +0100)
committerSébastien Han <seb@redhat.com>
Fri, 8 Feb 2019 11:04:44 +0000 (12:04 +0100)
The task setup chronyd called the handler disable chronyd, which of
course defeats the purpose.

Changing the task to disable ntpd instead fixes the issue of chronyd
being disabled after it got enabled.

Fixes: #3582
Signed-off-by: Patrick C. F. Ernzer pcfe@redhat.com
roles/ceph-infra/tasks/setup_ntp.yml

index cb2a89aa5f7628022583bbb1dfa64e39f21a37b9..d815819dc0f8944a14f0c9a1f960475bad03285d 100644 (file)
@@ -56,5 +56,5 @@
             enabled: yes
             state: started
           notify:
-            - disable chronyd
+            - disable ntpd
             - disable timesyncd