소스 검색

final fix as to the operator progressing status

Grega Bremec 1 개월 전
부모
커밋
b1854cf155
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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