fix: use private network IPs for k3s join and node addressing
This commit is contained in:
@@ -2,3 +2,4 @@
|
||||
k3s_version: latest
|
||||
k3s_server_url: ""
|
||||
k3s_token: ""
|
||||
k3s_node_ip: ""
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
INSTALL_K3S_VERSION: "{{ k3s_version if k3s_version != 'latest' else '' }}"
|
||||
K3S_URL: "{{ k3s_server_url }}"
|
||||
K3S_TOKEN: "{{ k3s_token }}"
|
||||
command: /tmp/install-k3s.sh agent
|
||||
command: /tmp/install-k3s.sh agent --node-ip {{ k3s_node_ip }}
|
||||
args:
|
||||
creates: /usr/local/bin/k3s-agent
|
||||
when: not k3s_agent_binary.stat.exists
|
||||
|
||||
Reference in New Issue
Block a user