Ansible - install NTP client

Moki Lv6
1
2
3
4
5
6
7
8
9
10
- name: Install the NTP daemon 
apt:
name: ntp
update_cache: true

- name: Enable NTP service
service:
name: ntp
state: started
enabled: yes
On this page
Ansible - install NTP client