Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to override jgroups subnet #93

Conversation

guidograzioli
Copy link
Member

@guidograzioli guidograzioli commented Jun 10, 2023

New optional variable:

Variable Description
keycloak_jgroups_subnet Override the subnet match for jgroups cluster formation; if not defined, it will be inferred from local machine route configuration

allows to statically override the <subnet-match value=".."/> for the <interface name="jgroups">.

If left undefined (default), the subnet match is computed as:

(ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ansible.utils.ipaddr('net')

The above won't work when instances are isolated (on a a.b.c.d/32 network)

@guidograzioli guidograzioli added the minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix label Jun 10, 2023
@guidograzioli guidograzioli merged commit 832432b into ansible-middleware:main Jun 10, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant