Skip to content

Commit 28b4205

Browse files
committed
fixed assuming default route
1 parent bfe9caf commit 28b4205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/roles/k3s/tasks/runtime.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- name: Initialise and authenticate k3s server and agents
77
vars:
88
k3s_server_name: "{{ hostvars[groups['k3s_server'].0].ansible_host }}"
9-
access_ip: "{{ ansible_default_ipv4.address }}"
9+
access_ip: "{{ ansible_host }}"
1010
services_states: > # getting list of all unique agent service states
1111
groups['k3s_agent']
1212
| map('extract', hostvars, ['services', 'k3s-agent.service', 'state'])

0 commit comments

Comments
 (0)