瀏覽代碼

add a 10s artificial wait after first up as keycloak flaps

Grega Bremec 2 周之前
父節點
當前提交
bbde9cf020
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      p0f/operators/roles/deploy-rhbk/tasks/present.yml

+ 5 - 0
p0f/operators/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