mirror of
https://github.com/ansible/awx.git
synced 2026-05-21 07:47:44 -02:30
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user