mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-07-29 08:01:33 -07:00
Template preferIPv4Stack, add health check after handler
This commit is contained in:
parent
3cd69821c0
commit
26be376b5c
3 changed files with 13 additions and 5 deletions
|
@ -27,9 +27,16 @@
|
|||
args:
|
||||
argv:
|
||||
- "{{ keycloak_jboss_home }}/bin/add-user-keycloak.sh"
|
||||
- -rmaster
|
||||
- -u{{ keycloak_admin_user }}
|
||||
- -p{{ keycloak_admin_password }}
|
||||
- "-rmaster"
|
||||
- "-u{{ keycloak_admin_user }}"
|
||||
- "-p{{ keycloak_admin_password }}"
|
||||
become: yes
|
||||
- name: restart keycloak
|
||||
include_tasks: tasks/restart_keycloak.yml
|
||||
- name: "Wait until Keycloak becomes active {{ health_url }}"
|
||||
uri:
|
||||
url: "{{ health_url }}"
|
||||
register: keycloak_status
|
||||
until: keycloak_status.status == 200
|
||||
retries: 25
|
||||
delay: 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue