Add kubectl bash completion

pull/21/head
Smaine Kahlouch 2015-12-01 12:13:22 +01:00
parent 126d4e36c8
commit bfe78848fa
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@
- name: write the kubecfg (auth) file for kubectl - name: write the kubecfg (auth) file for kubectl
template: src=kubectl.kubeconfig.j2 dest={{ kube_config_dir }}/kubectl.kubeconfig backup=yes template: src=kubectl.kubeconfig.j2 dest={{ kube_config_dir }}/kubectl.kubeconfig backup=yes
- name: Copy kubectl bash completion
copy: src=kubectl_bash_completion.sh dest=/etc/bash_completion.d/kubectl.sh
- name: Create proxy environment vars dir - name: Create proxy environment vars dir
file: path=/etc/systemd/system/kube-proxy.service.d state=directory file: path=/etc/systemd/system/kube-proxy.service.d state=directory