dotfiles/tasks/ntp.yml

19 lines
311 B
YAML
Raw Normal View History

- name: Install NTP
2019-03-20 11:00:01 +00:00
aur:
name: "{{ item }}"
become: true
become_user: aur_builder
when: item not in installed_packages.stdout_lines
loop:
2019-03-20 11:00:01 +00:00
- ntp
- name: Set timezone
timezone:
name: Europe/London
2019-05-25 16:50:09 +01:00
- name: Enable NTP service
2019-05-26 11:52:41 +01:00
systemd:
name: ntpd
2019-03-20 11:00:01 +00:00
enabled: true
2019-05-26 11:52:41 +01:00
state: started