infrastructure/ansible/roles/base/tasks/ntp.yml
2019-12-09 20:55:47 +00:00

15 lines
228 B
YAML

- name: "Install NTP"
apt:
name: "ntp"
become: true
become_user: root
- name: Set timezone
timezone:
name: Europe/London
- name: Enable NTP service
systemd:
name: ntp
enabled: true
state: started