Installs and configures the Nextcloud personal cloud.
None
Available variables are listed below, along with their default values (see
defaults/main.yml for more info):
dubzland_nextcloud_version: "{{ _dubzland_nextcloud_version }}"Version of Nextcloud to install. Defaults to the most recent version of Nextcloud compatible with the version of PHP available in the platform's package manager.
dubzland_nextcloud_root: "/var/www/nextcloud"Root directory to contain the Nextcloud install.
dubzland_nextcloud_data_dir: "/srv/nextcloud/data"Directory where Nextcloud will store user data.
dubzland_nextcloud_db_type: sqlite3Type of database. Allowed options are sqlite3, pgsql and mysql.
dubzland_nextcloud_db_host: localhostHost running the database Nextcloud will use. Only applicable for pgsql and
mysql db_type.
dubzland_nextcloud_db_name: nextcloudName of the Nextcloud database. The installation process will create this database if it does not exist.
dubzland_nextcloud_db_username: nextcloud
dubzland_nextcloud_db_password: nextcloudCredentials used to connect to the database. This user will need the CREATEDB role.
dubzland_nextcloud_admin_username: admin
dubzland_nextcloud_admin_password: nextcloudCredentials to configure for the Nextcloud administrative user.
dubzland_nextcloud_web_user: www-data
dubzland_nextcloud_web_group: www-dataSystem user who should own all Nextcloud application and data files.
dubzland_nextcloud_cron_frequency: '5'How many minutes should elapse between running the cron maintenance job.
dubzland_nextcloud_url: https://nextcloud.example.comURL where to Nextcloud instance will be accessible.
dubzland_nextcloud_trusted_domains:
- localhost
- nextcloud.example.comList of domains allowed to connect to this Nextcloud instance.
dubzland_nextcloud_settings: []Any additional settings to configure (mail server, etc). See defaults/main.yml for examples.
dubzland_nextcloud_apps: []Any apps (and their settings) to automatically configure in Nextcloud. See defaults/main.yml for examples.
None.
- hosts: nextcloud
become: yes
roles:
- role: dubzland.nextcloudMIT