mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-17 14:04:24 +02:00
Solved variable bugs
This commit is contained in:
parent
f263992393
commit
2f45038bef
@ -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: >-
|
||||||
{{
|
{{
|
||||||
@ -67,7 +70,4 @@ _applications_nextcloud_oidc_flavor: >-
|
|||||||
| get_app_conf('web-app-nextcloud','features.ldap',False)
|
| get_app_conf('web-app-nextcloud','features.ldap',False)
|
||||||
else 'sociallogin'
|
else 'sociallogin'
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
|
|
||||||
# default value if not set via CLI (-e) or in playbook vars
|
|
||||||
allowed_applications: []
|
|
@ -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:
|
||||||
|
0
tests/integration/group_vars/__init__.py
Normal file
0
tests/integration/group_vars/__init__.py
Normal file
Loading…
x
Reference in New Issue
Block a user