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:
25
roles/nextcloud/vars/main.yml
Normal file
25
roles/nextcloud/vars/main.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
nextcloud_packages:
|
||||
- bzip2
|
||||
- ffmpeg
|
||||
- php
|
||||
- php-fpm
|
||||
- php-gd
|
||||
- php-gmp
|
||||
- php-intl
|
||||
- php-json
|
||||
- php-ldap
|
||||
- php-mbstring
|
||||
- php-opcache
|
||||
- php-pdo
|
||||
- php-pecl-apcu
|
||||
- php-pecl-imagick
|
||||
- php-pecl-zip
|
||||
- php-pgsql
|
||||
- php-process
|
||||
- php-smbclient
|
||||
- php-xml
|
||||
- python3-psycopg2
|
||||
- tar
|
||||
nextcloud_archive_name: nextcloud-{{ nextcloud_version }}.tar.bz2
|
||||
nextcloud_archive_url: >-
|
||||
https://download.nextcloud.com/server/releases/{{ nextcloud_archive_name }}
|
||||
Reference in New Issue
Block a user