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:
parent
aba81f79bc
commit
c6d9102e1e
1 changed files with 14 additions and 6 deletions
|
@ -1,12 +1,6 @@
|
||||||
- hosts: all
|
- hosts: all
|
||||||
roles:
|
roles:
|
||||||
- base
|
- 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
|
- role: realorangeone.reflector
|
||||||
when: ansible_os_family == 'Archlinux'
|
when: ansible_os_family == 'Archlinux'
|
||||||
|
|
||||||
|
@ -15,6 +9,20 @@
|
||||||
- gateway
|
- gateway
|
||||||
- nebula
|
- 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:
|
- hosts:
|
||||||
- grimes
|
- grimes
|
||||||
- pve-docker
|
- pve-docker
|
||||||
|
|
Loading…
Reference in a new issue