Add retry loop to deletions in collection tests (#15966)

* Add retry loop to deletions in collection tests

* Fix bad result stored var use
This commit is contained in:
Alan Rominger
2025-05-09 09:48:23 -04:00
committed by GitHub
parent 2ba6603436
commit 0d85dc5fc5
5 changed files with 41 additions and 12 deletions

View File

@@ -156,9 +156,17 @@
project: "{{ proj_name }}"
inventory: "Demo Inventory"
state: absent
register: del_res
until: del_res is succeeded
retries: 5
delay: 3
- name: Delete the project
project:
name: "{{ proj_name }}"
organization: Default
state: absent
register: del_res
until: del_res is succeeded
retries: 5
delay: 3