mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-01-25 15:00
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
# MaxUsers = "9"
|
||||
# Mode = "subscription"
|
||||
# etc...
|
||||
seafile_version: "{{ seafile_license is defined | ternary('8.0.17','9.0.2') }}"
|
||||
seafile_version: "{{ seafile_license is defined | ternary('9.0.4','9.0.2') }}"
|
||||
|
||||
# Archive URL and sha1 are only used for the community version
|
||||
seafile_archive_url: https://s3.eu-central-1.amazonaws.com/download.seadrive.org/seafile-server_{{ seafile_version }}_x86-64.tar.gz
|
||||
@@ -31,6 +31,10 @@ seafile_db_seahub: seahub
|
||||
# Set to none to disable memcached
|
||||
seafile_memcached_server: 127.0.0.1:11211
|
||||
|
||||
# Elasticsearch is only used with pro edition
|
||||
seafile_es_server: localhost
|
||||
seafile_es_port: 9200
|
||||
|
||||
# Account under which services will run
|
||||
seafile_user: seafile
|
||||
seafile_group: "{{ seafile_user }}"
|
||||
@@ -61,7 +65,7 @@ seafile_admin_pass: seafile
|
||||
|
||||
# LDAP integration
|
||||
seafile_ldap_auth: "{{ (ad_auth | default(False) or ldap_auth | default(False)) | ternary(True,False) }}"
|
||||
seafile_ldap_uri: "{{ ad_auth | default(False) | ternary('ldaps://' + ad_realm | default(samba_realm) | default(ansible_domain) | lower,ldap_uri | default('ldap://ldap' ~ ansible_domain) | regex_replace('^ldap://(.*)','ldaps://\\1')) }}"
|
||||
seafile_ldap_uri: "{{ ad_auth | default(False) | ternary('ldaps://' + ad_realm | default(samba_realm) | default(ansible_domain) | lower,ldap_uri | default('ldap://ldap.' ~ ansible_domain) | regex_replace('^ldap://(.*)','ldaps://\\1')) }}"
|
||||
seafile_ldap_base: "{{ ad_auth | default(False) | ternary('DC=' + ad_realm | default(samba_realm) | default(ansible_domain) | regex_replace('\\.',',DC='), 'ou=Users,' + ldap_base) }}"
|
||||
# seafile_ldap_bind_dn:
|
||||
# Note that seafile_ldap_bind_pass should not contain special caracter, as it might break the parser and
|
||||
|
Reference in New Issue
Block a user