summaryrefslogtreecommitdiffstats
path: root/ansible/roles/cert-manager/tasks/main.yml
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-20 10:16:18 +0100
commit0bdebd55eccb444a5d1f1e2334119db1168aacf8 (patch)
tree5ae4b966097d8f7b66291116a44c03078d2b381d /ansible/roles/cert-manager/tasks/main.yml
parent31fc7096ac63358911636758b40010f5ff3ef36c (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/main.yml')
-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