]> 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)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Fri, 15 Feb 2019 09:09:36 +0000 (09:09 +0000)
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.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1673664
Fixes: #3582
Signed-off-by: Patrick C. F. Ernzer pcfe@redhat.com
(cherry picked from commit c605ff6a68720ab43b63086c3ac1d529a651f585)

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