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

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

using the ansible_host of the masternode inside kubeconfig

parent 51120730
No related branches found
No related tags found
1 merge request!1Restore main as the default branch
......@@ -26,6 +26,14 @@
flat: yes
- name: replace endpoint in kubeconfig
delegate_to: localhost
become: false
ansible.builtin.replace:
path: kubeconfig.yaml
regexp: '^(\s+server: ).*'
replace: '\1https://{{ ansible_host }}:6443'
- name: replace endpoint in external kubeconfig
delegate_to: localhost
become: false
ansible.builtin.replace:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment