mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-08 14:02:38 +00:00
gc.yml: address a race condition (#80)
Wait until the job is actually deleted before checking the final state.
This commit is contained in:
@@ -191,6 +191,8 @@
|
|||||||
delete_options:
|
delete_options:
|
||||||
preconditions:
|
preconditions:
|
||||||
uid: "{{ job.result.metadata.uid }}"
|
uid: "{{ job.result.metadata.uid }}"
|
||||||
|
wait: yes
|
||||||
|
wait_timeout: 100
|
||||||
|
|
||||||
- name: Check that job is deleted
|
- name: Check that job is deleted
|
||||||
k8s_info:
|
k8s_info:
|
||||||
|
|||||||
Reference in New Issue
Block a user