Forráskód Böngészése

final fix as to the operator progressing status

Grega Bremec 1 hónapja
szülő
commit
b1854cf155
1 módosított fájl, 4 hozzáadás és 4 törlés
  1. 4 4
      playbooks/roles/setup-auth/tasks/main.yml

+ 4 - 4
playbooks/roles/setup-auth/tasks/main.yml

@@ -175,8 +175,8 @@
       until:
         - co_auth.resources is defined
         - co_auth.resources | length == 1
-        - (co_auth.resources[0].status | community.general.json_query('conditions[?type==`Progressing`].status'))[0]
-      retries: 24
+        - ((co_auth.resources[0].status | community.general.json_query('conditions[?type==`Progressing`].status'))[0] | bool)
+      retries: 60
       delay: 5
 
     - name: Wait for co/authentication to finish progressing.
@@ -190,8 +190,8 @@
       until:
         - co_auth.resources is defined
         - co_auth.resources | length == 1
-        - not (co_auth.resources[0].status | community.general.json_query('conditions[?type==`Progressing`].status'))[0]
-      retries: 24
+        - not ((co_auth.resources[0].status | community.general.json_query('conditions[?type==`Progressing`].status'))[0] | bool)
+      retries: 60
       delay: 5
 
   when: patched_oauth.changed