From bf6fdce339e4a48a579ec87cc52462eecbedfec6 Mon Sep 17 00:00:00 2001
From: Barry Melbourne <9964974+bmelbourne@users.noreply.github.com>
Date: Thu, 20 Aug 2020 12:25:45 +0100
Subject: [PATCH] Fix cert-manager E305 ansible-lint error (#6549)

---
 .../ingress_controller/cert_manager/tasks/main.yml              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/kubernetes-apps/ingress_controller/cert_manager/tasks/main.yml b/roles/kubernetes-apps/ingress_controller/cert_manager/tasks/main.yml
index 5029cb1df..c8fdce8f1 100644
--- a/roles/kubernetes-apps/ingress_controller/cert_manager/tasks/main.yml
+++ b/roles/kubernetes-apps/ingress_controller/cert_manager/tasks/main.yml
@@ -68,7 +68,7 @@
     - inventory_hostname == groups['kube-master'][0]
 
 - name: Cert Manager | Wait for Webhook pods become ready
-  shell: "{{ bin_dir }}/kubectl wait po --namespace={{ cert_manager_namespace }} --selector app=webhook --for=condition=Ready --timeout=600s"
+  command: "{{ bin_dir }}/kubectl wait po --namespace={{ cert_manager_namespace }} --selector app=webhook --for=condition=Ready --timeout=600s"
   register: cert_manager_webhook_pods_ready
   when: inventory_hostname == groups['kube-master'][0]
 
-- 
GitLab