dotfiles/tasks/ntp.yml
2020-06-01 09:13:05 +01:00

18 lines
311 B
YAML

- name: Install NTP
aur:
name: "{{ item }}"
become: true
become_user: aur_builder
when: item not in installed_packages.stdout_lines
loop:
- ntp
- name: Set timezone
timezone:
name: Europe/London
- name: Enable NTP service
systemd:
name: ntpd
enabled: true
state: started