mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 14:22:49 +00:00
fix: add retries to find running web pod (#1787)
This commit is contained in:
@@ -266,6 +266,11 @@
|
|||||||
field_selectors:
|
field_selectors:
|
||||||
- status.phase=Running
|
- status.phase=Running
|
||||||
register: _new_pod
|
register: _new_pod
|
||||||
|
until:
|
||||||
|
- "_new_pod['resources'] | length"
|
||||||
|
- "_new_pod['resources'] | rejectattr('metadata.deletionTimestamp', 'defined') | length"
|
||||||
|
retries: 60
|
||||||
|
delay: 5
|
||||||
|
|
||||||
- name: Update new resource pod as a variable.
|
- name: Update new resource pod as a variable.
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|||||||
Reference in New Issue
Block a user