Update to 2021-01-05 21:00

master
Daniel Berteaud 4 years ago
parent 4d7780e59e
commit d85c9e4856
  1. 2
      library/iptables_raw.py
  2. 4
      roles/seafile/defaults/main.yml
  3. 13
      roles/seafile/tasks/install.yml
  4. 2
      roles/seafile/templates/seahub_settings.py.j2
  5. 17
      roles/seafile/vars/CentOS-7.yml
  6. 17
      roles/seafile/vars/CentOS-8.yml

@ -335,7 +335,7 @@ class Iptables:
# Return a list of active iptables tables
def _get_list_of_active_tables(self):
if os.path.isfile(self.iptables_names_file):
table_names = "filter\n" + open(self.iptables_names_file, 'r').read()
table_names = "filter\nnat\nmangle" + open(self.iptables_names_file, 'r').read()
list_set = set(table_names.splitlines())
unique_list = (list(list_set))
return unique_list

@ -11,11 +11,11 @@
# MaxUsers = "9"
# Mode = "subscription"
# etc...
seafile_version: "{{ seafile_license is defined | ternary('7.1.9','7.1.5') }}"
seafile_version: "{{ seafile_license is defined | ternary('7.1.9','8.0.2') }}"
# 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_sha1: e4a9abadd04db96965dc4965e824919de02e2143
seafile_archive_sha1: dcb2fc2adc0e502b64f9ffeee111082c015daebe
seafile_root_dir: /opt/seafile
seafile_data_dir: "{{ seafile_root_dir }}/data"

@ -25,18 +25,7 @@
virtualenv: "{{ seafile_root_dir }}"
virtualenv_command: /usr/bin/virtualenv-3
virtualenv_python: /usr/bin/python3
name:
- Pillow
- pylibmc
- captcha
- jinja2
- sqlalchemy
- psd-tools
- django-pylibmc
- django-simple-captcha
- python3-ldap
- requests_oauthlib
#- wsgidav
name: "{{ seafile_python_libs }}"
notify:
- restart seafile
- restart seahub

@ -132,6 +132,8 @@ SESSION_COOKIE_AGE = {{ seafile_cookie_age }}
SITE_NAME = '{{ seafile_site_name }}'
SITE_TITLE = '{{ seafile_site_title }}'
ENABLE_SYS_ADMIN_VIEW_REPO = True
ENABLE_WIKI = True
{% if seafile_oo_uri is defined %}

@ -5,6 +5,9 @@ seafile_packages:
- python3-setuptools
- python3-pip
- python3-virtualenv
- python3-devel
- gcc
- gcc-c++
- MySQL-python
- ffmpeg
- ffmpeg-devel
@ -20,5 +23,19 @@ seafile_packages:
- unoconv # For seafile-pro
- python-setuptools # needed for ansible to create the venv
seafile_python_libs:
- Pillow
- pylibmc
- captcha
- jinja2
- sqlalchemy
- psd-tools
- django-pylibmc
- django-simple-captcha
- python3-ldap
- requests_oauthlib
- future
- mysqlclient==2.0.1
seafile_rm_libs:
- libnssutil3.so

@ -6,6 +6,9 @@ seafile_packages:
- python3-pip
- python3-virtualenv
- python3-mysql
- python3-devel
- gcc
- gcc-c++
- ffmpeg
- ffmpeg-devel
- libmemcached-devel
@ -20,6 +23,20 @@ seafile_packages:
- unoconv # For seafile-pro
- python3-setuptools # needed for ansible to create the venv
seafile_python_libs:
- Pillow
- pylibmc
- captcha
- jinja2
- sqlalchemy
- psd-tools
- django-pylibmc
- django-simple-captcha
- python3-ldap
- requests_oauthlib
- future
- mysqlclient
seafile_rm_libs:
- liblber-2.4.so.2
- libldap-2.4.so.2

Loading…
Cancel
Save