mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +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:
parent
5eaa5baf3b
commit
eca80a289a
2 changed files with 0 additions and 18 deletions
|
@ -77,19 +77,6 @@
|
||||||
name: openvpn
|
name: openvpn
|
||||||
when: openvpn_install | bool
|
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:
|
# Debian 10 "Buster" is apparently enabling AppArmor in 2019:
|
||||||
# https://wiki.debian.org/AppArmor/Progress
|
# https://wiki.debian.org/AppArmor/Progress
|
||||||
# https://wiki.debian.org/AppArmor/HowToUse
|
# https://wiki.debian.org/AppArmor/HowToUse
|
||||||
|
|
|
@ -24,11 +24,6 @@
|
||||||
state: present
|
state: present
|
||||||
when: rtc_id is defined and rtc_id != "none" and is_ubuntu
|
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)
|
- name: Increase swap file size (to CONF_SWAPSIZE={{ pi_swap_file_size }} in /etc/dphys-swapfile) as kalite pip download fails (debuntu)
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/dphys-swapfile
|
path: /etc/dphys-swapfile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue