mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-23 19:06:33 +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