there is no ntpdate for el8+:x - use chrony

This commit is contained in:
Miroslav Suchý 2021-01-19 10:06:27 +01:00
parent 0da9feb845
commit afa5c85b2f

View file

@ -15,7 +15,7 @@
dnf: dnf:
state: present state: present
pkg: pkg:
- ntpdate - chrony
- libselinux-python - libselinux-python
when: ansible_distribution_major_version|int > 7 and ansible_distribution == 'RedHat' and ansible_cmdline.ostree is not defined when: ansible_distribution_major_version|int > 7 and ansible_distribution == 'RedHat' and ansible_cmdline.ostree is not defined
tags: tags: