Use NTP role from galaxy

This commit is contained in:
Jake Howard 2020-06-15 12:54:07 +01:00
parent ac4fc01499
commit a896c5826e
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 5 additions and 18 deletions

View file

@ -8,6 +8,9 @@
- import_tasks: tasks/user.yml - import_tasks: tasks/user.yml
- import_tasks: tasks/packages.yml - import_tasks: tasks/packages.yml
- include_role:
name: geerlingguy.ntp
- import_tasks: tasks/boot.yml - import_tasks: tasks/boot.yml
- import_tasks: tasks/i3.yml - import_tasks: tasks/i3.yml
- import_tasks: tasks/network.yml - import_tasks: tasks/network.yml
@ -15,7 +18,6 @@
- import_tasks: tasks/input.yml - import_tasks: tasks/input.yml
- import_tasks: tasks/power-saving.yml - import_tasks: tasks/power-saving.yml
- import_tasks: tasks/autostart.yml - import_tasks: tasks/autostart.yml
- import_tasks: tasks/ntp.yml
- import_tasks: tasks/fonts.yml - import_tasks: tasks/fonts.yml
- import_tasks: tasks/security.yml - import_tasks: tasks/security.yml
- import_tasks: tasks/keepassxc.yml - import_tasks: tasks/keepassxc.yml

View file

@ -1 +1,2 @@
- src: kewlfft.aur - src: kewlfft.aur
- src: geerlingguy.ntp

View file

@ -1,17 +0,0 @@
- name: Install NTP
aur:
name: "{{ item }}"
become: true
become_user: aur_builder
loop:
- ntp
- name: Set timezone
timezone:
name: Europe/London
- name: Enable NTP service
systemd:
name: ntpd
enabled: true
state: started

View file

@ -3,3 +3,4 @@ home: /home/{{ user }}
dabapps_hostnames: dabapps_hostnames:
- TOO-Work - TOO-Work
- big-mike - big-mike
ntp_timezone: Europe/London