refactor(k3s): centralize k3s primary server IP and integrate Netcup DNS
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
k3s:
|
||||
server:
|
||||
ips: []
|
||||
loadbalancer:
|
||||
default_port: 6443
|
||||
agent:
|
||||
ips: []
|
||||
|
||||
k3s_primary_server_ip: "{{ groups['k3s_server'] | map('extract', hostvars, 'ansible_default_ipv4') | map(attribute='address') | unique | list | first }}"
|
||||
|
||||
k3s_server_name: "k3s.{{ internal_domain }}"
|
||||
|
||||
Reference in New Issue
Block a user