|
|
@ -42,7 +42,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
- name: Install Seafile pro license |
|
|
|
- name: Install Seafile pro license |
|
|
|
copy: content={{ seafile_license }} dest={{ seafile_root_dir }}/seafile-license.txt |
|
|
|
copy: content={{ seafile_license }} dest={{ seafile_root_dir }}/seafile-license.txt |
|
|
|
when: seafile_license is defined |
|
|
|
when: |
|
|
|
|
|
|
|
- seafile_license is defined |
|
|
|
|
|
|
|
- seafile_license != '' # defining an empty license means using the Free for 3 user offer |
|
|
|
notify: |
|
|
|
notify: |
|
|
|
- restart seafile |
|
|
|
- restart seafile |
|
|
|
- restart seahub |
|
|
|
- restart seahub |
|
|
@ -142,7 +144,7 @@ |
|
|
|
tags: seafile |
|
|
|
tags: seafile |
|
|
|
|
|
|
|
|
|
|
|
- name: Copy documentation |
|
|
|
- name: Copy documentation |
|
|
|
copy: src={{ seafile_root_dir }}/tmp/seafile-server-{{ seafile_version }}/seafile/docs/seafile-tutorial.doc dest={{ seafile_data_dir }}/library-template remote_src=True |
|
|
|
copy: src={{ seafile_root_dir }}/tmp/seafile-{{ (seafile_license is defined) | ternary('pro-','') }}server-{{ seafile_version }}/seafile/docs/seafile-tutorial.doc dest={{ seafile_data_dir }}/library-template remote_src=True |
|
|
|
when: seafile_install_mode == 'install' |
|
|
|
when: seafile_install_mode == 'install' |
|
|
|
tags: seafile |
|
|
|
tags: seafile |
|
|
|
|
|
|
|
|
|
|
|