Merge "Drop the NTP service precheck"

This commit is contained in:
Zuul 2021-04-08 09:53:41 +00:00 committed by Gerrit Code Review
commit f49f9909ca
2 changed files with 7 additions and 10 deletions

View File

@ -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: >-

View File

@ -0,0 +1,7 @@
---
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>`__