Don't install NTP on LXC containers

This can cause issues with containers trying to sync the system clock, and getting it wrong
This commit is contained in:
Jake Howard 2021-03-04 15:45:47 +00:00
parent aba81f79bc
commit c6d9102e1e
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -1,12 +1,6 @@
- hosts: all
roles:
- base
- role: geerlingguy.ntp
become: true
vars:
ntp_timezone: "{{ TZ }}"
ntp_manage_config: true
when: ansible_os_family != 'Alpine' # https://github.com/ansible-collections/community.general/issues/781
- role: realorangeone.reflector
when: ansible_os_family == 'Archlinux'
@ -15,6 +9,20 @@
- gateway
- nebula
- hosts:
- pve
- casey
- grimes
- ingress
- deluge
roles:
- role: geerlingguy.ntp
become: true
vars:
ntp_timezone: "{{ TZ }}"
ntp_manage_config: true
when: ansible_os_family != 'Alpine' # https://github.com/ansible-collections/community.general/issues/781
- hosts:
- grimes
- pve-docker