Jan-Jonas Sämann
f5cc5cea9c
Some checks failed
continuous-integration/drone/push Build is failing
Chrony uses PHC via VirtIO PTP on KVM to sync the virtial mashines time to the hosts RTC within nanoseconds. Ntpd is still used for anything else not virtualized on kvm.
12 lines
210 B
YAML
12 lines
210 B
YAML
---
|
|
|
|
- name: Install ntp
|
|
apt: name=ntp
|
|
|
|
- name: Configure ntp
|
|
template: src=ntp.conf.j2 dest=/etc/ntp.conf
|
|
notify: Restart ntp
|
|
|
|
- name: Start the ntp service
|
|
service: name=ntp state=started enabled=yes
|