commit | e682a3c4544c5125e9ae576b5593c58567e4376d | [log] [tgz] |
---|---|---|
author | Michiel Piscaer <michiel@piscaer.com> | Thu Jun 16 09:36:26 2022 +0000 |
committer | Michiel Piscaer <michiel@piscaer.com> | Fri Jun 17 10:04:55 2022 +0000 |
tree | c7a28d5f61ae7bacbfddf3c6dd4c624b43786e21 | |
parent | 3dd4ded6882ac3b9424160216360678d2e1ff72f [diff] [blame] |
Add kubectl & helm bash autocomplete Sem-Ver: feature Depends-On: Id868ea6c1d14de8425944244d1243384acd143be Change-Id: I5cd0c827f889cfc56a9f85a58e9853435cb9b596
diff --git a/roles/helm/tasks/debian.yml b/roles/helm/tasks/debian.yml index f6004b0..c636b37 100644 --- a/roles/helm/tasks/debian.yml +++ b/roles/helm/tasks/debian.yml
@@ -32,3 +32,9 @@ ansible.builtin.apt: name: ["helm"] install_recommends: false + +- name: add bash autocomplete for helm + ansible.builtin.lineinfile: + path: /root/.bashrc + line: 'source <(helm completion bash)' + insertbefore: EOF