Seafile, install seafile services on the destination
Needed roles: (from https://github.com/sha2017)
- server.baseline
- server.nginx-php7
- server.mariadb
- fetch the "Server for generic Linux" from https://www.seafile.com/en/download/
- that's as of 2017-04: https://bintray.com/artifact/download/seafile-org/seafile/seafile-server_6.0.9_x86-64.tar.gz
- edit the 'seafile_version' in vars/main.yml
- To drop all databases of seafile (handy for reinstalling), use --extra-vars "database_remove=true"
- put stuff below into a playbook
- invoke that playbook
All Seafile data (files and databases) will be erased
- on the seafile server:
rm -rf /opt/seafile/data
- invoke the playbook
Use with systemctl start|stop|restart|status ...
- seafile
- seahub
- nginx
- mysql
- hosts: seafile become: true roles: - server.baseline - server.nginx-php7 - server.mariadb - server.seafile
- Peer reviewed
- Added testing playbook + makefile to create an easy testing enviroment with Vagrant (see testing/Makefile | testing/vagrant.yml)
- in vars: only first IPv4 address is used, needs improvement to include other IPv4 and IPv6 addresses
- test handler
WTFPL
Derik van Zuetphen, derik@sha2017.org Maikel van Leeuwen, maikel@sha2017.org