소스 검색

add artificial wait after keycloak returns realm

Grega Bremec 3 주 전
부모
커밋
70e4dbda1a
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      playbooks/roles/deploy-rhbk/tasks/present.yml

+ 5 - 0
playbooks/roles/deploy-rhbk/tasks/present.yml

@@ -275,6 +275,11 @@
   retries: 24
   delay: 5
 
+- name: Add another 10 seconds because Keycloak flaps.
+  ansible.builtin.pause:
+    prompt: Waiting 10 seconds for Keycloak to settle.
+    seconds: 10
+
 - name: Get a fresh bearer token.
   ansible.builtin.include_tasks:
     file: tasks/token.yml