dotfiles/tasks/ntp.yml
Jake Howard 648662f794
Update pyyaml to 1.21.0
Also standardize on quotes. Unfortunatley it doesn't quite work yet
2020-03-30 19:36:05 +01:00

19 lines
336 B
YAML

- name: Install NTP
aur:
skip_installed: true
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