*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 51120730 authored by entlein's avatar entlein
Browse files

we must not replace the endpoint anymore, since we dont have the external lb

parent 680c784d
No related branches found
No related tags found
1 merge request!1Restore main as the default branch
......@@ -19,10 +19,16 @@
dest: kubeconfig.yaml
flat: yes
- name: fetch kubeconfig from master
ansible.builtin.fetch:
src: /etc/rancher/rke2/rke2.yaml
dest: kubeconfigext.yaml
flat: yes
- name: replace endpoint in kubeconfig
delegate_to: localhost
become: false
ansible.builtin.replace:
path: kubeconfig.yaml
path: kubeconfigext.yaml
regexp: '^(\s+server: ).*'
replace: '\1https://rancher.{{ domain }}:6443'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment