2022-06-11 00:30:35 +00:00
|
|
|
---
|
2024-06-20 12:48:29 +00:00
|
|
|
k3s_version: "v1.29.2+k3s1"
|
2023-10-23 12:25:09 +00:00
|
|
|
systemd_dir: "/etc/systemd/system"
|
2024-08-04 17:31:05 +00:00
|
|
|
api_endpoint: "{{ hostvars[groups['server'][0]]['wireguard_ip'] | default(groups['server'][0]) }}"
|
2024-06-20 12:48:29 +00:00
|
|
|
extra_server_args: "--disable traefik --advertise-address {{hostvars[inventory_hostname]['wireguard_ip']}} --flannel-iface wg0 --tls-san {{ ansible_host }} --disable servicelb {{ ['--node-label']|product(hostvars[inventory_hostname]['k3s_label'])|map('join', ' ')|join(' ') }}"
|
|
|
|
extra_agent_args: "--flannel-iface wg0 --node-external-ip {{hostvars[inventory_hostname]['wireguard_ip']}} {{ ['--node-label']|product(hostvars[inventory_hostname]['k3s_label'])|map('join', ' ')|join(' ') }}"
|
2024-08-04 17:31:05 +00:00
|
|
|
ansible_python_interpreter: /usr/bin/python3
|
|
|
|
ansible_ssh_port: 22
|
|
|
|
ufw_enabled: false
|
|
|
|
wireguard_port: 51820
|
|
|
|
wireguard_mask_bits: 8
|