mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-18 19:10:39 +01:00
Remove option pipefail
This commit is contained in:
parent
4b7f0f1e51
commit
f149d3b358
@ -46,9 +46,7 @@
|
|||||||
when: kubernetes_pod_network.cni == 'calico'
|
when: kubernetes_pod_network.cni == 'calico'
|
||||||
|
|
||||||
- name: "Get K8s version"
|
- name: "Get K8s version"
|
||||||
shell: |
|
shell: kubectl version | base64 | tr -d '\n'
|
||||||
set -o pipefail
|
|
||||||
kubectl version | base64 | tr -d '\n'
|
|
||||||
register: k8_version
|
register: k8_version
|
||||||
when: kubernetes_pod_network.cni == 'weave'
|
when: kubernetes_pod_network.cni == 'weave'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user