Browse Source

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

Grega Bremec 2 weeks ago
parent
commit
bbde9cf020
1 changed files with 5 additions and 0 deletions
  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