mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-10-17 13:51:43 -07:00
initial tcpping support
This commit is contained in:
parent
0052025917
commit
6e9a17bbf5
5 changed files with 35 additions and 1 deletions
|
@ -187,6 +187,19 @@
|
|||
- restart keycloak
|
||||
when: not keycloak_remotecache.enabled or keycloak_config_override_template | length > 0
|
||||
|
||||
- name: Create cluster node list
|
||||
ansible.builtin.set_fact:
|
||||
keycloak_cluster_nodes: >
|
||||
{{ keycloak_cluster_nodes | default([]) + [
|
||||
{
|
||||
"name": item,
|
||||
"address": 'jgroups-' + item,
|
||||
"inventory_host": hostvars[item].ansible_default_ipv4.address | default(item) + '[' + keycloak_jgroups_port + ']',
|
||||
"value": hostvars[item].ansible_default_ipv4.address | default(item)
|
||||
}
|
||||
] }}
|
||||
loop: "{{ ansible_play_batch }}"
|
||||
|
||||
- name: "Deploy {{ keycloak.service_name }} config with remote cache store to {{ keycloak_config_path_to_standalone_xml }}"
|
||||
become: yes
|
||||
ansible.builtin.template:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue