Update control-plane-setup.yml

This commit is contained in:
iLem0n 2023-04-10 23:28:26 +02:00 committed by GitHub
parent 4a4c88b6b8
commit be8c669eff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,13 +50,19 @@
register: flannel_result
changed_when: "'created' in flannel_result.stdout"
when: kubernetes_pod_network.cni == 'flannel'
retries: 3
delay: 3
until: flannel_result.rc == 0
- name: Configure Calico networking.
command: "kubectl apply -f {{ kubernetes_calico_manifest_file }}"
register: calico_result
changed_when: "'created' in calico_result.stdout"
when: kubernetes_pod_network.cni == 'calico'
retries: 3
delay: 3
until: calico_result.rc == 0
- name: Get Kubernetes version for Weave installation.
shell: kubectl version | base64 | tr -d '\n'
changed_when: false