dotfiles/tasks/ntp.yml

20 lines
342 B
YAML
Raw Normal View History

2019-03-20 11:00:01 +00:00
- name: "Install NTP"
aur:
skip_installed: true
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:
2019-03-20 11:00:01 +00:00
name: "ntpd"
enabled: true
2019-05-26 11:52:41 +01:00
state: started