diff --git a/roles/kubernetes/master/tasks/config.yml b/roles/kubernetes/master/tasks/config.yml index af699c8f2..2f488a921 100644 --- a/roles/kubernetes/master/tasks/config.yml +++ b/roles/kubernetes/master/tasks/config.yml @@ -45,6 +45,9 @@ - name: write the kubecfg (auth) file for kubectl 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 file: path=/etc/systemd/system/kube-proxy.service.d state=directory