From f149d3b35866f7155c624c2d8903fba7af8bd1d9 Mon Sep 17 00:00:00 2001 From: EL KOUHEN Mehdi Date: Tue, 31 Dec 2019 10:01:23 +0100 Subject: [PATCH] Remove option pipefail --- tasks/master-setup.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tasks/master-setup.yml b/tasks/master-setup.yml index b0b231d..b27b8cd 100644 --- a/tasks/master-setup.yml +++ b/tasks/master-setup.yml @@ -46,9 +46,7 @@ when: kubernetes_pod_network.cni == 'calico' - name: "Get K8s version" - shell: | - set -o pipefail - kubectl version | base64 | tr -d '\n' + shell: kubectl version | base64 | tr -d '\n' register: k8_version when: kubernetes_pod_network.cni == 'weave'