mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-08-09 07:34:28 -07:00
Add var to set the jgroups IP per host
This is useful if the default route does not represent the network you want/need to use for cluster communication.
This commit is contained in:
parent
0936d415c7
commit
c614af127e
5 changed files with 13 additions and 2 deletions
|
@ -39,8 +39,8 @@
|
|||
{
|
||||
"name": item,
|
||||
"address": 'jgroups-' + item,
|
||||
"inventory_host": hostvars[item].ansible_default_ipv4.address | default(item) + '[' + (keycloak_quarkus_jgroups_port | string) + ']',
|
||||
"value": hostvars[item].ansible_default_ipv4.address | default(item)
|
||||
"inventory_host": hostvars[item].keycloak_quarkus_jgroups_ip | default(item) + '[' + (keycloak_quarkus_jgroups_port | string) + ']',
|
||||
"value": hostvars[item].keycloak_quarkus_jgroups_ip | default(item)
|
||||
}
|
||||
] }}
|
||||
loop: "{{ ansible_play_batch }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue