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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue