mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-04-11 19:30:56 +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:
|
||||
preconditions:
|
||||
uid: "{{ job.result.metadata.uid }}"
|
||||
wait: yes
|
||||
wait_timeout: 100
|
||||
|
||||
- name: Check that job is deleted
|
||||
k8s_info:
|
||||
|
||||
Reference in New Issue
Block a user