From 02322c46de771db1054c0c0b7f4ad31752bd0284 Mon Sep 17 00:00:00 2001 From: zhengtianbao Date: Mon, 15 Nov 2021 14:50:48 -0600 Subject: [PATCH] Remove helm duplicate check (#8196) --- roles/kubernetes-apps/helm/tasks/main.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/roles/kubernetes-apps/helm/tasks/main.yml b/roles/kubernetes-apps/helm/tasks/main.yml index 3a4e88846..a563a7bbd 100644 --- a/roles/kubernetes-apps/helm/tasks/main.yml +++ b/roles/kubernetes-apps/helm/tasks/main.yml @@ -14,24 +14,14 @@ group: no delegate_to: "{{ inventory_hostname }}" -- name: Helm | Check if bash_completion.d folder exists # noqa 503 - stat: - path: "/etc/bash_completion.d/" - get_attributes: no - get_checksum: no - get_mime: no - register: stat_result - - name: Helm | Get helm completion command: "{{ bin_dir }}/helm completion bash" changed_when: False register: helm_completion check_mode: False - when: stat_result.stat.exists - name: Helm | Install helm completion copy: dest: /etc/bash_completion.d/helm.sh content: "{{ helm_completion.stdout }}" become: True - when: stat_result.stat.exists