summaryrefslogtreecommitdiffstats
path: root/ansible/roles/cert-manager/tasks
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-12-17 11:29:42 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-12-17 11:34:34 +0100
commitc5103f9e65d92f49219e51d2c14e6ea7d3efa625 (patch)
tree3b29ccc333a415c8968fac3eb11848386f32ea72 /ansible/roles/cert-manager/tasks
parent3a94af71ad65d2ec93b21cde755ec3a6430180ac (diff)
[ANSIBLE] Drop shell completion code generation in 'cert-manager' role
Moved to a dedicated role Change-Id: Ibfaf132d4d81edaee8332b809c3452d530ab1c4c Issue-ID: OOM-2902 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/roles/cert-manager/tasks')
-rw-r--r--ansible/roles/cert-manager/tasks/main.yml22
1 files changed, 0 insertions, 22 deletions
diff --git a/ansible/roles/cert-manager/tasks/main.yml b/ansible/roles/cert-manager/tasks/main.yml
index 77063655..9bf7fde3 100644
--- a/ansible/roles/cert-manager/tasks/main.yml
+++ b/ansible/roles/cert-manager/tasks/main.yml
@@ -29,25 +29,3 @@
- 'cmctl'
remote_src: true
mode: 0755
-
-- name: Install completion for the bash shell
- package:
- name: "{{ completion_package }}"
- state: present
-
-- name: Generate shell autocompletion code for cmctl
- command: cmctl completion bash
- register: cmctl_completion
- changed_when: false
-
-- name: Ensure bash completion dir exists
- file:
- path: "{{ completion_dir }}"
- state: directory
- mode: 0755
-
-- name: Install bash autocompletion code for cmctl
- copy:
- content: "{{ cmctl_completion.stdout }}"
- dest: "{{ completion_dir }}/cmctl"
- mode: 0644