mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-07-23 13:20:33 -07:00
Add molecule scenario for HA restart
This commit is contained in:
parent
c22389c86f
commit
fdcf1b2ed2
11 changed files with 995 additions and 5 deletions
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
- name: "Restart services in serial, with optional healtch check (keycloak_quarkus_restart_health_check)"
|
||||
throttle: 1
|
||||
loop: "{{ ansible_play_hosts }}"
|
||||
block:
|
||||
- name: "Restart and enable {{ keycloak.service_name }} service on {{ item }}"
|
||||
ansible.builtin.include_tasks:
|
||||
file: ../restart.yml
|
||||
file: restart.yml
|
||||
apply:
|
||||
delegate_to: "{{ item }}"
|
||||
run_once: true
|
||||
loop: "{{ ansible_play_hosts }}"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{ ansible_managed | comment }}
|
||||
{% if keycloak_quarkus_ha_enabled %}
|
||||
{% if not rhbk_enable or keycloak_quarkus_version.split('.')[0]|int < 22 %}
|
||||
{% if keycloak_quarkus_version.split('.')[0] | int < 22 %}
|
||||
quarkus.infinispan-client.server-list={{ keycloak_quarkus_ispn_hosts }}
|
||||
quarkus.infinispan-client.auth-username={{ keycloak_quarkus_ispn_user }}
|
||||
quarkus.infinispan-client.auth-password={{ keycloak_quarkus_ispn_pass }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue