Extract vars, template fixes, add README

This commit is contained in:
Guido Grazioli
2021-12-15 12:33:42 +01:00
parent 6e3a7989eb
commit ab35489f67
11 changed files with 100 additions and 19 deletions

View File

@@ -607,7 +607,7 @@
</outbound-socket-binding>
{% if keycloak_modcluster.enabled %}
<outbound-socket-binding name="proxy1">
<remote-destination host="{{ (groups['jbcs'][0] if groups['jbcs'] | length > 0 else 'localhost') }}" port="6666"/>
<remote-destination host="{{ keycloak_modcluster.reverse_proxy_url | default('localhost') }}" port="6666"/>
</outbound-socket-binding>
{% endif %}
</socket-binding-group>