1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

modern OS are shipping systemd-timesyncd pre-enabled other packages not needed

ntp and chrony actually conflict with each other
This commit is contained in:
Jerry Vonau 2020-03-14 22:51:57 -05:00
parent 5eaa5baf3b
commit eca80a289a
2 changed files with 0 additions and 18 deletions

View file

@ -77,19 +77,6 @@
name: openvpn
when: openvpn_install | bool
# for rpi, without rtc, we need time as soon as possible
- name: Install chrony (an NTP package) especially for RPi's lacking RTC
package:
name: chrony
state: present
#TODO: Use regexp filter instead of hard-code ip
- name: Install /etc/chrony.conf from template
template:
src: chrony.conf.j2
dest: /etc/chrony.conf
backup: no
# Debian 10 "Buster" is apparently enabling AppArmor in 2019:
# https://wiki.debian.org/AppArmor/Progress
# https://wiki.debian.org/AppArmor/HowToUse

View file

@ -24,11 +24,6 @@
state: present
when: rtc_id is defined and rtc_id != "none" and is_ubuntu
- name: Install latest ntp package
package:
name: ntp
state: latest
- name: Increase swap file size (to CONF_SWAPSIZE={{ pi_swap_file_size }} in /etc/dphys-swapfile) as kalite pip download fails (debuntu)
lineinfile:
path: /etc/dphys-swapfile