From 5eba1c12e47ae478026a2375b6e429c6f1600e26 Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Fri, 31 Dec 2021 12:30:14 +0100 Subject: [PATCH] Bind jgroups to any-address when ansible facts not defined --- roles/keycloak/templates/standalone-infinispan.xml.j2 | 4 ++++ roles/keycloak/templates/standalone-rhsso-jdg.xml.j2 | 6 +++++- roles/keycloak_realm/README.md | 6 ------ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/roles/keycloak/templates/standalone-infinispan.xml.j2 b/roles/keycloak/templates/standalone-infinispan.xml.j2 index 8d69564..498770f 100644 --- a/roles/keycloak/templates/standalone-infinispan.xml.j2 +++ b/roles/keycloak/templates/standalone-infinispan.xml.j2 @@ -712,7 +712,11 @@ +{% if ansible_default_ipv4 is defined %} +{% else %} + +{% endif %} diff --git a/roles/keycloak/templates/standalone-rhsso-jdg.xml.j2 b/roles/keycloak/templates/standalone-rhsso-jdg.xml.j2 index 6d6a809..e13703d 100644 --- a/roles/keycloak/templates/standalone-rhsso-jdg.xml.j2 +++ b/roles/keycloak/templates/standalone-rhsso-jdg.xml.j2 @@ -711,8 +711,12 @@ - + +{% if ansible_default_ipv4 is defined %} +{% else %} + +{% endif %} diff --git a/roles/keycloak_realm/README.md b/roles/keycloak_realm/README.md index 8407505..d39b2a3 100644 --- a/roles/keycloak_realm/README.md +++ b/roles/keycloak_realm/README.md @@ -4,12 +4,6 @@ keycloak_realm Create realms and clients in [keycloak](https://keycloak.org/) or [Red Hat Single Sing-On](https://access.redhat.com/products/red-hat-single-sign-on) services. -Requirements ------------- - -This role requires `python3-netaddr` library installed on the controller node. - - Role Defaults -------------