add kubectx/kubens with bash completions
parent
ce2737c5e3
commit
880dd3a003
|
@ -91,3 +91,25 @@
|
||||||
warn: False
|
warn: False
|
||||||
creates: "{{ ansible_env.HOME }}/.local/bin/stern"
|
creates: "{{ ansible_env.HOME }}/.local/bin/stern"
|
||||||
|
|
||||||
|
- name: install kubectx-HEAD
|
||||||
|
command: go get github.com/ahmetb/kubectx/cmd/kubectx
|
||||||
|
args:
|
||||||
|
creates: "{{ ansible_env.HOME }}/go/bin/kubectx"
|
||||||
|
|
||||||
|
- name: install bash kubectx completions
|
||||||
|
get_url:
|
||||||
|
url: https://raw.githubusercontent.com/ahmetb/kubectx/master/completion/kubectx.bash
|
||||||
|
dest: "{{ ansible_env.HOME }}/.bashrc.d/"
|
||||||
|
mode: "0640"
|
||||||
|
|
||||||
|
- name: install kubens-HEAD
|
||||||
|
command: go get github.com/ahmetb/kubectx/cmd/kubens
|
||||||
|
args:
|
||||||
|
creates: "{{ ansible_env.HOME }}/go/bin/kubens"
|
||||||
|
|
||||||
|
- name: install bash kubens completions
|
||||||
|
get_url:
|
||||||
|
url: https://raw.githubusercontent.com/ahmetb/kubectx/master/completion/kubens.bash
|
||||||
|
dest: "{{ ansible_env.HOME }}/.bashrc.d/"
|
||||||
|
mode: "0640"
|
||||||
|
|
||||||
|
|
Reference in New Issue