fix(ansible): add wait
This commit is contained in:
parent
47ac514dc6
commit
6d793c5c96
@ -75,11 +75,6 @@
|
|||||||
with_items: "{{ groups['master'] }}"
|
with_items: "{{ groups['master'] }}"
|
||||||
run_once: true
|
run_once: true
|
||||||
|
|
||||||
# TODO:// if there is a race condition, we'll have to manually wait here
|
|
||||||
# - name: Wait for all metallb services to come up
|
|
||||||
# wait_for:
|
|
||||||
# timeout: 30
|
|
||||||
|
|
||||||
- name: Wait for metallb pods in replicasets
|
- name: Wait for metallb pods in replicasets
|
||||||
command: >-
|
command: >-
|
||||||
kubectl wait pods -n metallb-system --for condition=Ready \
|
kubectl wait pods -n metallb-system --for condition=Ready \
|
||||||
@ -112,6 +107,11 @@
|
|||||||
with_items: "{{ groups['master'] }}"
|
with_items: "{{ groups['master'] }}"
|
||||||
run_once: true
|
run_once: true
|
||||||
|
|
||||||
|
# TODO:// if there is a race condition, we'll have to manually wait here
|
||||||
|
- name: Wait for all metallb services to come up
|
||||||
|
wait_for:
|
||||||
|
timeout: 30
|
||||||
|
|
||||||
- name: Test metallb-system webhook-service endpoint
|
- name: Test metallb-system webhook-service endpoint
|
||||||
command: >-
|
command: >-
|
||||||
k3s kubectl -n metallb-system get endpoints webhook-service
|
k3s kubectl -n metallb-system get endpoints webhook-service
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user