Ansible/inventory/group_vars/all.yml

8 lines
313 B
YAML

---
k3s_version: v1.23.6+k3s1
# ansible_user: debian
systemd_dir: /etc/systemd/system
master_ip: "{{ hostvars[groups['master'][0]]['wireguard_ip'] | default(groups['master'][0]) }}"
extra_server_args: "--no-deploy traefik --advertise-address {{hostvars[inventory_hostname]['wireguard_ip']}}"
extra_agent_args: ""