mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-12 21:32:48 +01:00
klal
This commit is contained in:
@@ -227,3 +227,17 @@
|
||||
args:
|
||||
creates: /etc/kubernetes/kubelet.conf
|
||||
when: not inventory_hostname.endswith('-vm01.home.lan')
|
||||
|
||||
- name: get repository
|
||||
git: https://github.com/ahmetb/kubectx
|
||||
dest: /opt/kubectx
|
||||
version: master
|
||||
|
||||
- name: Create symbolic links for kubectx and kubens
|
||||
file:
|
||||
src: /opt/kubectx/{{ item }}
|
||||
dest: /usr/local/bin/{{ item }}
|
||||
state: link
|
||||
loop:
|
||||
- kubectx
|
||||
- kubens
|
||||
Reference in New Issue
Block a user