nextcloud: Deploy Nextcloud w/ Apache+PHP-FPM

The *nextcloud* role installs Nextcloud from the specified release
archive, downloading it to the control machine first if necessary, and
configures Apache and PHP-FPM to serve it.

The `nextcloud.yml` playbook uses the *cert* role to install the X.509
certificate for the Nextcloud server, sets up Apache HTTPD with the
*apache* role, and installs Nextcloud using the *nextcloud* role.

The host *cloud0.pyrocufflink.blue* is the Nextcloud server for
Pyrocufflink.
This commit is contained in:
2020-01-18 12:17:12 -06:00
parent 2aaf8c5239
commit b09bf84a3b
10 changed files with 183 additions and 0 deletions

8
group_vars/nextcloud.yml Normal file
View File

@@ -0,0 +1,8 @@
nextcloud_server_name: nextcloud.pyrocufflink.net
apache_server_name: '{{ nextcloud_server_name }}'
pg_hba_extra:
- type: host
database: nextcloud
user: nextcloud
address: ::1/128
method: md5