|
|
@ -11,11 +11,11 @@ |
|
|
|
# MaxUsers = "9" |
|
|
|
# MaxUsers = "9" |
|
|
|
# Mode = "subscription" |
|
|
|
# Mode = "subscription" |
|
|
|
# etc... |
|
|
|
# etc... |
|
|
|
seafile_version: "{{ seafile_license is defined | ternary('7.1.14','8.0.3') }}" |
|
|
|
seafile_version: "{{ seafile_license is defined | ternary('7.1.15','8.0.4') }}" |
|
|
|
|
|
|
|
|
|
|
|
# Archive URL and sha1 are only used for the community version |
|
|
|
# Archive URL and sha1 are only used for the community version |
|
|
|
seafile_archive_url: https://download.seadrive.org/seafile-server_{{ seafile_version }}_x86-64.tar.gz |
|
|
|
seafile_archive_url: https://s3.eu-central-1.amazonaws.com/download.seadrive.org/seafile-server_{{ seafile_version }}_x86-64.tar.gz |
|
|
|
seafile_archive_sha1: bbf72fcf4e321f2f550822532b7608b746953631 |
|
|
|
seafile_archive_sha1: b4e7b28ca18994fdd0f819e3e611d56bd4367f65 |
|
|
|
|
|
|
|
|
|
|
|
seafile_root_dir: /opt/seafile |
|
|
|
seafile_root_dir: /opt/seafile |
|
|
|
seafile_data_dir: "{{ seafile_root_dir }}/data" |
|
|
|
seafile_data_dir: "{{ seafile_root_dir }}/data" |
|
|
@ -64,7 +64,7 @@ seafile_admin_pass: seafile |
|
|
|
|
|
|
|
|
|
|
|
# LDAP integration |
|
|
|
# LDAP integration |
|
|
|
seafile_ldap_auth: "{{ (ad_auth | default(False) or ldap_auth | default(False)) | ternary(True,False) }}" |
|
|
|
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 | 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_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: |
|
|
|
# seafile_ldap_bind_dn: |
|
|
|
# Note that seafile_ldap_bind_pass should not contain special caracter, as it might break the parser and |
|
|
|
# Note that seafile_ldap_bind_pass should not contain special caracter, as it might break the parser and |
|
|
|