mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
Remove ternary filter from non-boolean variable
This commit is contained in:
parent
a0f244d3eb
commit
9409bbb61a
1 changed files with 2 additions and 2 deletions
|
@ -183,8 +183,8 @@ DEFAULT_USER_IS_RESTRICTED = {{ gitea_default_user_is_restricted | ternary('true
|
||||||
{% if gitea_email_domain_allowlist is defined and gitea_email_domain_allowlist | length %}
|
{% if gitea_email_domain_allowlist is defined and gitea_email_domain_allowlist | length %}
|
||||||
EMAIL_DOMAIN_ALLOWLIST = {{ gitea_email_domain_allowlist }}
|
EMAIL_DOMAIN_ALLOWLIST = {{ gitea_email_domain_allowlist }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
DEFAULT_USER_VISIBILITY = {{ gitea_default_user_visibility | ternary('true', 'false') }}
|
DEFAULT_USER_VISIBILITY = {{ gitea_default_user_visibility }}
|
||||||
DEFAULT_ORG_VISIBILITY = {{ gitea_default_org_visibility | ternary('true', 'false') }}
|
DEFAULT_ORG_VISIBILITY = {{ gitea_default_org_visibility }}
|
||||||
ALLOW_ONLY_INTERNAL_REGISTRATION = {{ gitea_allow_only_internal_registration | ternary('true', 'false') }}
|
ALLOW_ONLY_INTERNAL_REGISTRATION = {{ gitea_allow_only_internal_registration | ternary('true', 'false') }}
|
||||||
ALLOW_ONLY_EXTERNAL_REGISTRATION = {{ gitea_allow_only_external_registration | ternary('true', 'false') }}
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = {{ gitea_allow_only_external_registration | ternary('true', 'false') }}
|
||||||
{{ gitea_service_extra_config }}
|
{{ gitea_service_extra_config }}
|
||||||
|
|
Loading…
Reference in a new issue