13 lines
366 B
YAML
13 lines
366 B
YAML
---
|
|
- name: install bash-completion packages
|
|
become: yes
|
|
ansible.builtin.package:
|
|
name: bash-completion
|
|
state: present
|
|
|
|
- name: activate autocompletion for kubectl
|
|
become: yes
|
|
ansible.builtin.shell:
|
|
cmd: "kubectl completion bash | sudo tee /etc/bash_completion.d/kubectl"
|
|
args:
|
|
creates: /etc/bash_completion.d/kubectl
|