Skip to content
Snippets Groups Projects
Commit 04315751 authored by Radosław Piliszek's avatar Radosław Piliszek
Browse files

Drop the NTP service precheck

We can't check this with timedatectl as it is not aware
of any "non-native" NTP daemon.

This could be a warning-level message but we don't have
such messages from the prechecks.

Closes-Bug: #1922721
Change-Id: I6db37576118cf5cff4ba7a63e179f0ab37467d22
parent b647cb41
No related branches found
No related tags found
No related merge requests found
......@@ -5,16 +5,6 @@
register: timedatectl_status
changed_when: false
- name: Fail if no (S)NTP service is running
fail:
msg: >-
timedatectl does not see any (S)NTP service running.
Please ensure you have (S)NTP client working.
when:
- "'service: active' not in timedatectl_status.stdout"
# Ubuntu Bionic (18.04)
- "'service active: yes' not in timedatectl_status.stdout"
- name: Fail if the clock is not synchronized
fail:
msg: >-
......
---
fixes:
- |
Fixes an issue preventing prechecks from succeeding when "non-native"
NTP daemon was used, such as ``ntpd` as opposed to ``systemd-timesyncd``
on a Debian/Ubuntu system or to ``chronyd`` on a CentOS/RHEL system.
`LP#1922721 <https://launchpad.net/bugs/1922721>`__
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment