mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
[ipsilon] Fix jinja2 nesting
This time it should be correct. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
@@ -74,6 +74,14 @@ saml2 session database url=postgresql://{{ ipsilon_db_user }}:{{ ipsilon_stg_db_
|
||||
{% else %}
|
||||
saml2 session database url=postgresql://{{ ipsilon_db_user }}:{{ ipsilon_db_pass }}@{{ ipsilon_db_host }}/{{ ipsilon_db_saml2_name }}
|
||||
{% endif %}
|
||||
|
||||
[saml2_data]
|
||||
{% if env == 'staging' %}
|
||||
{% include "saml2_data_stg" %}
|
||||
{% else %}
|
||||
{% include "saml2_data" %}
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
{% else %}
|
||||
global enabled=saml2,openidc,openid
|
||||
@@ -132,8 +140,6 @@ saml2 default email domain=fedoraproject.org
|
||||
saml2 session database url=postgresql://{{ ipsilon_db_user }}:{{ ipsilon_stg_db_pass }}@{{ ipsilon_db_host }}/{{ ipsilon_db_saml2_name }}
|
||||
{% else %}
|
||||
saml2 session database url=postgresql://{{ ipsilon_db_user }}:{{ ipsilon_db_pass }}@{{ ipsilon_db_host }}/{{ ipsilon_db_saml2_name }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
[saml2_data]
|
||||
{% if env == 'staging' %}
|
||||
|
||||
Reference in New Issue
Block a user