mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-23 21:53:21 +02:00
Update to 2024-05-06 00:01
This commit is contained in:
parent
4cf191bd76
commit
b1e9f866df
@ -37,7 +37,19 @@
|
|||||||
pip:
|
pip:
|
||||||
virtualenv: "{{ seafile_root_dir }}"
|
virtualenv: "{{ seafile_root_dir }}"
|
||||||
virtualenv_command: /bin/python3.9 -m venv
|
virtualenv_command: /bin/python3.9 -m venv
|
||||||
name: "{{ seafile_python_libs[seafile_edition] }}"
|
name: "{{ seafile_python_libs.community }}"
|
||||||
|
when: seafile_license is not defined
|
||||||
|
notify:
|
||||||
|
- restart seafile
|
||||||
|
- restart seahub
|
||||||
|
tags: seafile
|
||||||
|
|
||||||
|
- name: Install or update python modules in the virtualenv
|
||||||
|
pip:
|
||||||
|
virtualenv: "{{ seafile_root_dir }}"
|
||||||
|
virtualenv_command: /bin/python3.9 -m venv
|
||||||
|
name: "{{ seafile_python_libs.pro }}"
|
||||||
|
when: seafile_license is defined
|
||||||
notify:
|
notify:
|
||||||
- restart seafile
|
- restart seafile
|
||||||
- restart seahub
|
- restart seahub
|
||||||
|
@ -15,7 +15,7 @@ PASSWD = {{ seafile_db_pass }}
|
|||||||
DB = {{ seafile_db_ccnet }}
|
DB = {{ seafile_db_ccnet }}
|
||||||
CONNECTION_CHARSET = utf8
|
CONNECTION_CHARSET = utf8
|
||||||
|
|
||||||
{% if seafile_edition == 'pro' and seafile_ldap_auth is defined and seafile_ldap_auth %}
|
{% if seafile_version is version('11', '<') and seafile_ldap_auth is defined and seafile_ldap_auth %}
|
||||||
[LDAP]
|
[LDAP]
|
||||||
HOST = {{ seafile_ldap_uri }}
|
HOST = {{ seafile_ldap_uri }}
|
||||||
BASE = {{ seafile_ldap_base }}
|
BASE = {{ seafile_ldap_base }}
|
||||||
@ -26,7 +26,7 @@ PASSWORD = {{ seafile_ldap_bind_pass }}
|
|||||||
LOGIN_ATTR = {{ seafile_ldap_login_attr }}
|
LOGIN_ATTR = {{ seafile_ldap_login_attr }}
|
||||||
FILTER = {{ seafile_ldap_filter }}
|
FILTER = {{ seafile_ldap_filter }}
|
||||||
|
|
||||||
{% if seafile_edition == 'pro' %}
|
{% if seafile_license is defined %}
|
||||||
[LDAP_SYNC]
|
[LDAP_SYNC]
|
||||||
ENABLE_USER_SYNC = true
|
ENABLE_USER_SYNC = true
|
||||||
ENABLE_GROUP_SYNC = {{ seafile_ldap_group_filter is defined | ternary('true','false') }}
|
ENABLE_GROUP_SYNC = {{ seafile_ldap_group_filter is defined | ternary('true','false') }}
|
||||||
|
@ -16,7 +16,7 @@ enabled = true
|
|||||||
enabled = true
|
enabled = true
|
||||||
interval = 30m
|
interval = 30m
|
||||||
|
|
||||||
{% if seafile_edition == 'pro' %}
|
{% if seafile_license is defined %}
|
||||||
[AUDIT]
|
[AUDIT]
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ VIRUS_SCAN_NOTIFY_LIST = ['{{ system_admin_email }}']
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if seafile_edition == 'community' and seafile_ldap_auth is defined and seafile_ldap_auth %}
|
{% if seafile_version is version('11', '>=') and seafile_ldap_auth is defined and seafile_ldap_auth %}
|
||||||
ENABLE_LDAP = True
|
ENABLE_LDAP = True
|
||||||
LDAP_SERVER_URL = '{{ seafile_ldap_uri }}'
|
LDAP_SERVER_URL = '{{ seafile_ldap_uri }}'
|
||||||
LDAP_BASE_DN = '{{ seafile_ldap_base }}'
|
LDAP_BASE_DN = '{{ seafile_ldap_base }}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user