Files
configpolicy/roles/nextcloud/meta/main.yml
Dustin C. Hatch 924107abbe nextcloud: Support remote database server
The _nextcloud_ role originally handled setting up the PostgreSQL
database and assumed that it was running on the same server as Nextcloud
itself.  I have factored out those tasks into their own role,
_nextcloud-db_, which can be applied to a separate host.

I have also introduced some new variables (`nextcloud_db_host`,
`nextcloud_db_name`, `nextcloud_db_user`, and `nextcloud_db_password`),
which can be used to specify how to connect to the database, if it is
hosted remotely.  Since these variables are used by both the _nextcloud_
and _nextcloud-db_ roles, they are actually defined in a separate role,
_nextcloud-base_, upon which both depend.
2024-09-02 20:29:51 -05:00

14 lines
294 B
YAML

dependencies:
- nextcloud-base
- role: redis
tags:
- redis
- role: cert
vars:
cert_src: lego/_.pyrocufflink.net.crt
cert_dest: '{{ apache_ssl_certificate }}'
cert_key_src: lego/_.pyrocufflink.net.key
cert_key_dest: '{{ apache_ssl_certificate_key }}'
tags:
- nextcloud