initial tcpping support

This commit is contained in:
Guido Grazioli 2023-03-08 09:23:34 +01:00
commit 6e9a17bbf5
No known key found for this signature in database
GPG key ID: 22C8C31EF2BC093B
5 changed files with 35 additions and 1 deletions

View file

@ -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: