Solved variable bugs

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-16 23:01:25 +02:00
parent f263992393
commit 2f45038bef
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
3 changed files with 8 additions and 8 deletions

View File

@ -54,6 +54,9 @@ certbot_cert_path: "/etc/letsencrypt/live" # Path contain
## Docker Role Specific Parameters ## Docker Role Specific Parameters
docker_restart_policy: "unless-stopped" docker_restart_policy: "unless-stopped"
# default value if not set via CLI (-e) or in playbook vars
allowed_applications: []
# helper # helper
_applications_nextcloud_oidc_flavor: >- _applications_nextcloud_oidc_flavor: >-
{{ {{
@ -68,6 +71,3 @@ _applications_nextcloud_oidc_flavor: >-
else 'sociallogin' else 'sociallogin'
) )
}} }}
# default value if not set via CLI (-e) or in playbook vars
allowed_applications: []

View File

@ -41,7 +41,7 @@ docker:
# image: "nextcloud-collabora" # image: "nextcloud-collabora"
# version: "latest" # version: "latest"
oidc: oidc:
enabled: "{{ defaults_applications | get_app_conf('web-app-nextcloud', 'features.oidc') }}" # Activate OIDC for Nextcloud enabled: " {{ applications | get_app_conf('web-app-nextcloud', 'features.oidc', False, True) }}" # Activate OIDC for Nextcloud
# floavor decides which OICD plugin should be used. # floavor decides which OICD plugin should be used.
# Available options: oidc_login, sociallogin # Available options: oidc_login, sociallogin
# @see https://apps.nextcloud.com/apps/oidc_login # @see https://apps.nextcloud.com/apps/oidc_login
@ -236,13 +236,13 @@ plugins:
# enabled: false # enabled: false
twofactor_nextcloud_notification: twofactor_nextcloud_notification:
# Nextcloud two-factor notification: sends notifications for two-factor authentication events (https://apps.nextcloud.com/apps/twofactor_nextcloud_notification) # Nextcloud two-factor notification: sends notifications for two-factor authentication events (https://apps.nextcloud.com/apps/twofactor_nextcloud_notification)
enabled: "{{ not defaults_applications | get_app_conf('web-app-nextcloud', 'features.oidc', False, True) }}" # Deactivate 2FA if oidc is active enabled: "{{ not applications | get_app_conf('web-app-nextcloud', 'features.oidc', False, True) }}" # Deactivate 2FA if oidc is active
twofactor_totp: twofactor_totp:
# Nextcloud two-factor TOTP: provides time-based one-time password authentication (https://apps.nextcloud.com/apps/twofactor_totp) # Nextcloud two-factor TOTP: provides time-based one-time password authentication (https://apps.nextcloud.com/apps/twofactor_totp)
enabled: "{{ not defaults_applications | get_app_conf('web-app-nextcloud', 'features.oidc', False, True) }}" # Deactivate 2FA if oidc is active enabled: "{{ not applications | get_app_conf('web-app-nextcloud', 'features.oidc', False, True) }}" # Deactivate 2FA if oidc is active
user_ldap: user_ldap:
# Nextcloud user LDAP: integrates LDAP for user management and authentication (https://apps.nextcloud.com/apps/user_ldap) # Nextcloud user LDAP: integrates LDAP for user management and authentication (https://apps.nextcloud.com/apps/user_ldap)
enabled: "{{ defaults_applications | get_app_conf('web-app-nextcloud', 'features.ldap', False, True) }}" enabled: "{{ applications | get_app_conf('web-app-nextcloud', 'features.ldap', False, True) }}"
user_directory: user_directory:
enabled: true # Enables the LDAP User Directory Search enabled: true # Enables the LDAP User Directory Search
user_oidc: user_oidc:

View File