Update to 2024-01-03 12:00

This commit is contained in:
Daniel Berteaud
2024-01-03 12:00:34 +01:00
parent a6b43a8034
commit 9946ec6561
9 changed files with 247 additions and 49 deletions

View File

@@ -8,6 +8,14 @@
- vars/{{ ansible_os_family }}.yml
tags: seafile
- set_fact: seafile_edition='pro'
when: seafile_licence is defined
tags: seafile
- set_fact: seafile_edition='community'
when: seafile_licence is not defined
tags: seafile
- name: Set default install mode
set_fact: seafile_install_mode='none'
tags: seafile

View File

@@ -37,7 +37,7 @@
pip:
virtualenv: "{{ seafile_root_dir }}"
virtualenv_command: /bin/python3.9 -m venv
name: "{{ seafile_python_libs }}"
name: "{{ seafile_python_libs[seafile_edition] }}"
notify:
- restart seafile
- restart seahub
@@ -150,7 +150,7 @@
# Needed since CentOS 7.5 so ldaps can be used
- name: Remove bundled libs
file: path={{ seafile_root_dir }}/seafile-server/seafile/lib/{{ item }} state=absent
loop: "{{ seafile_rm_libs }}"
loop: "{{ seafile_rm_libs[seafile_edition] }}"
notify: restart seafile
tags: seafile