mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-06 10:50:31 -07:00
Merge pull request #176 from growi/templates_comment_filter
Utilize comment filter for `ansible_managed` annotations
This commit is contained in:
commit
a875166fe0
14 changed files with 14 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<!-- {{ ansible_managed }} -->
|
{{ ansible_managed | comment('xml') }}
|
||||||
<server xmlns="urn:jboss:domain:16.0">
|
<server xmlns="urn:jboss:domain:16.0">
|
||||||
<extensions>
|
<extensions>
|
||||||
<extension module="org.jboss.as.clustering.infinispan"/>
|
<extension module="org.jboss.as.clustering.infinispan"/>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<!-- {{ ansible_managed }} -->
|
{{ ansible_managed | comment('xml') }}
|
||||||
<server xmlns="urn:jboss:domain:16.0">
|
<server xmlns="urn:jboss:domain:16.0">
|
||||||
<extensions>
|
<extensions>
|
||||||
<extension module="org.jboss.as.clustering.infinispan"/>
|
<extension module="org.jboss.as.clustering.infinispan"/>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<!-- {{ ansible_managed }} -->
|
{{ ansible_managed | comment('xml') }}
|
||||||
<server xmlns="urn:jboss:domain:16.0">
|
<server xmlns="urn:jboss:domain:16.0">
|
||||||
<extensions>
|
<extensions>
|
||||||
<extension module="org.jboss.as.clustering.infinispan"/>
|
<extension module="org.jboss.as.clustering.infinispan"/>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash -eu
|
#!/bin/bash -eu
|
||||||
# {{ ansible_managed }}
|
{{ ansible_managed | comment }}
|
||||||
|
|
||||||
set +u -o pipefail
|
set +u -o pipefail
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# {{ ansible_managed }}
|
{{ ansible_managed | comment }}
|
||||||
JAVA_OPTS='{{ keycloak_java_opts }}'
|
JAVA_OPTS='{{ keycloak_java_opts }}'
|
||||||
JAVA_HOME={{ keycloak_java_home | default(keycloak_rpm_java_home, true) }}
|
JAVA_HOME={{ keycloak_java_home | default(keycloak_rpm_java_home, true) }}
|
||||||
JBOSS_HOME={{ keycloak.home }}
|
JBOSS_HOME={{ keycloak.home }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# {{ ansible_managed }}
|
{{ ansible_managed | comment }}
|
||||||
[Unit]
|
[Unit]
|
||||||
Description={{ keycloak.service_name }} Server
|
Description={{ keycloak.service_name }} Server
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<!-- {{ ansible_managed }} -->
|
{{ ansible_managed | comment('xml') }}
|
||||||
<server xmlns="urn:jboss:domain:16.0">
|
<server xmlns="urn:jboss:domain:16.0">
|
||||||
<extensions>
|
<extensions>
|
||||||
<extension module="org.jboss.as.clustering.infinispan"/>
|
<extension module="org.jboss.as.clustering.infinispan"/>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<!-- {{ ansible_managed }} -->
|
{{ ansible_managed | comment('xml') }}
|
||||||
<server xmlns="urn:jboss:domain:16.0">
|
<server xmlns="urn:jboss:domain:16.0">
|
||||||
<extensions>
|
<extensions>
|
||||||
<extension module="org.jboss.as.clustering.infinispan"/>
|
<extension module="org.jboss.as.clustering.infinispan"/>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<!-- {{ ansible_managed }} -->
|
{{ ansible_managed | comment('xml') }}
|
||||||
<server xmlns="urn:jboss:domain:16.0">
|
<server xmlns="urn:jboss:domain:16.0">
|
||||||
<extensions>
|
<extensions>
|
||||||
<extension module="org.jboss.as.clustering.infinispan"/>
|
<extension module="org.jboss.as.clustering.infinispan"/>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<!-- {{ ansible_managed }} -->
|
{{ ansible_managed | comment('xml') }}
|
||||||
<!--
|
<!--
|
||||||
~ Copyright 2019 Red Hat, Inc. and/or its affiliates
|
~ Copyright 2019 Red Hat, Inc. and/or its affiliates
|
||||||
~ and other contributors as indicated by the @author tags.
|
~ and other contributors as indicated by the @author tags.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# {{ ansible_managed }}
|
{{ ansible_managed | comment }}
|
||||||
KEYCLOAK_ADMIN={{ keycloak_quarkus_admin_user }}
|
KEYCLOAK_ADMIN={{ keycloak_quarkus_admin_user }}
|
||||||
KEYCLOAK_ADMIN_PASSWORD='{{ keycloak_quarkus_admin_pass }}'
|
KEYCLOAK_ADMIN_PASSWORD='{{ keycloak_quarkus_admin_pass }}'
|
||||||
PATH={{ keycloak_quarkus_java_home | default(keycloak_rpm_java_home, true) }}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
PATH={{ keycloak_quarkus_java_home | default(keycloak_rpm_java_home, true) }}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# {{ ansible_managed }}
|
{{ ansible_managed | comment }}
|
||||||
|
|
||||||
{% if keycloak_quarkus_db_enabled %}
|
{% if keycloak_quarkus_db_enabled %}
|
||||||
# Database
|
# Database
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# {{ ansible_managed }}
|
{{ ansible_managed | comment }}
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Keycloak Server
|
Description=Keycloak Server
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# {{ ansible_managed }}
|
{{ ansible_managed | comment }}
|
||||||
{% if keycloak_quarkus_ha_enabled %}
|
{% if keycloak_quarkus_ha_enabled %}
|
||||||
{% if not rhbk_enable or keycloak_quarkus_version.split('.')[0]|int < 22 %}
|
{% if not rhbk_enable or keycloak_quarkus_version.split('.')[0]|int < 22 %}
|
||||||
quarkus.infinispan-client.server-list={{ keycloak_quarkus_ispn_hosts }}
|
quarkus.infinispan-client.server-list={{ keycloak_quarkus_ispn_hosts }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue