|
|
|
@ -42,7 +42,9 @@ |
|
|
|
|
|
|
|
|
|
- name: Install Seafile pro license |
|
|
|
|
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: |
|
|
|
|
- restart seafile |
|
|
|
|
- restart seahub |
|
|
|
@ -142,7 +144,7 @@ |
|
|
|
|
tags: seafile |
|
|
|
|
|
|
|
|
|
- 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' |
|
|
|
|
tags: seafile |
|
|
|
|
|
|
|
|
|