This commit is contained in:
2026-03-04 14:24:56 +01:00
parent 58de9124f5
commit 967e115ab1

View File

@@ -229,9 +229,10 @@
when: not inventory_hostname.endswith('-vm01.home.lan') when: not inventory_hostname.endswith('-vm01.home.lan')
- name: get repository - name: get repository
git: https://github.com/ahmetb/kubectx git:
repo: 'https://github.com/ahmetb/kubectx'
dest: /opt/kubectx dest: /opt/kubectx
version: master when: inventory_hostname.endswith('-vm01.home.lan')
- name: Create symbolic links for kubectx and kubens - name: Create symbolic links for kubectx and kubens
file: file:
@@ -240,4 +241,5 @@
state: link state: link
loop: loop:
- kubectx - kubectx
- kubens - kubens
when: inventory_hostname.endswith('-vm01.home.lan')