Skip to content

Commit 2667f5f

Browse files
committed
Replace IPv6 localhost address in rke2.yml
1 parent c9f9962 commit 2667f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/summary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
ansible.builtin.replace:
1414
path: "{{ rke2_download_kubeconf_path }}/{{ rke2_download_kubeconf_file_name }}"
1515
mode: '0600'
16-
regexp: '127.0.0.1'
16+
regexp: '127\.0\.0\.1|\[::1\]'
1717
replace: "{{ rke2_api_ip | default(hostvars[groups[rke2_servers_group_name].0].ansible_host) | ansible.utils.ipwrap }}"
1818
delegate_to: localhost
1919
become: false

0 commit comments

Comments
 (0)