Ansible role to install and configure an ownCloud.
Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.
- Requirements
- Default Variables
- owncloud_admin_password
- owncloud_admin_username
- owncloud_apps_deprecated
- owncloud_apps_disable
- owncloud_apps_enable
- owncloud_apps_install
- owncloud_apps_uninstall
- owncloud_cert_resolver
- owncloud_db_host
- owncloud_db_name
- owncloud_db_password
- owncloud_db_type
- owncloud_db_username
- owncloud_db_utf8mb4
- owncloud_domain
- owncloud_image
- owncloud_insecure_middlewares
- owncloud_log_file
- owncloud_log_level
- owncloud_log_rotate_size
- owncloud_network
- owncloud_post_install
- owncloud_post_server
- owncloud_pre_install
- owncloud_pre_server
- owncloud_prefix
- owncloud_publish_server
- owncloud_pull_image
- owncloud_redis_db
- owncloud_redis_enabled
- owncloud_redis_host
- owncloud_redis_password
- owncloud_redis_port
- owncloud_secure_middlewares
- owncloud_smtp_address
- owncloud_smtp_auth
- owncloud_smtp_auth_type
- owncloud_smtp_domain
- owncloud_smtp_host
- owncloud_smtp_mode
- owncloud_smtp_password
- owncloud_smtp_port
- owncloud_smtp_secure
- owncloud_smtp_username
- owncloud_version
- owncloud_volume_hooks
- owncloud_volume_server
- Discovered Tags
- Dependencies
- License
- Author
- Minimum Ansible version:
2.10
Password for the admin user
owncloud_admin_password: admin
Username for the admin user
owncloud_admin_username: admin
List of deprecated apps
owncloud_apps_deprecated: []
List of apps to disable
owncloud_apps_disable: []
List of apps to enable
owncloud_apps_enable: []
List of apps to install
owncloud_apps_install: []
List of apps to uninstall
owncloud_apps_uninstall: []
Cert resolver within traefik
owncloud_cert_resolver:
owncloud_cert_resolver: default
Database host
owncloud_db_host: mariadb:3306
Database name
owncloud_db_name: owncloud
Database password
owncloud_db_password:
Database type to use
owncloud_db_type: mysql
Database username
owncloud_db_username:
Enable utf8mb4 database
owncloud_db_utf8mb4: true
Domain used to access ownCloud
owncloud_domain:
Docker image to use
owncloud_image: owncloud/server:{{ owncloud_version }}
Insecure middlewares for traefik
owncloud_insecure_middlewares:
- https@file
- errors@file
Path to logfile within container
owncloud_log_file: /dev/stdout
Logging level
owncloud_log_level: '2'
Log rotation file size
owncloud_log_rotate_size: '104857600'
Docker network to connect to
owncloud_network:
owncloud_network: traefik
List of post server hooks
owncloud_post_install: []
List of post install hooks
owncloud_post_server: []
List of pre server hooks
owncloud_pre_install: []
List of pre install hooks
owncloud_pre_server: []
Prefix used to access ownCloud
owncloud_prefix:
Publish the service on that binding
owncloud_publish_server:
Pull image as part of the tasks
owncloud_pull_image: true
Redis database
owncloud_redis_db:
Enable redis caching
owncloud_redis_enabled: true
Redis host
owncloud_redis_host: redis
Redis password
owncloud_redis_password:
Redis port
owncloud_redis_port: 6379
Secure middlewares for traefik
owncloud_secure_middlewares:
- secure@file
- errors@file
Mail sender address
owncloud_smtp_address: owncloud
Enable SMTP auth
owncloud_smtp_auth: true
Mail auth type
owncloud_smtp_auth_type: LOGIN
Mail sender domain
owncloud_smtp_domain: example.com
Mail server host
owncloud_smtp_host:
Mail sending mode
owncloud_smtp_mode: smtp
Mail server password
owncloud_smtp_password:
Mail server port
owncloud_smtp_port:
Secure mode for mail server
owncloud_smtp_secure:
Mail server username
owncloud_smtp_username:
Version of the Docker image
owncloud_version: 10.15.0
Path to hooks volume
owncloud_volume_hooks: /etc/owncloud
Path to server volume
owncloud_volume_server: /var/lib/owncloud
owncloud
Apache-2.0