This role installs owncloud and postgres docker images, and sets up cron to do periodic database dumps (currently only on Sundays at 3am).
Once installed, to connect to the database use host "owncloud-database" username "owncloud" and password "owncloud".
This role requires docker to be installed on the host.
owncloud_apps_dir: /opt/owncloud/apps
owncloud_config_dir: /opt/owncloud/config
owncloud_data_dir: /opt/owncloud/data
owncloud_database_dir: /opt/owncloud/database-files
owncloud_database_backups_dir: /opt/owncloud/database-backups
Docker must be installed on the host.
- hosts: servers
roles:
- { role: lndobryden.owncloud,
owncloud_apps_dir: /opt/owncloud/apps,
owncloud_config_dir: /opt/owncloud/config,
owncloud_data_dir: /opt/owncloud/data,
owncloud_database_dir: /opt/owncloud/database-files,
owncloud_database_backups_dir: /opt/owncloud/database-backups }
BSD
Lee Dobryden - https://github.com/lndobryden