Files
configpolicy/group_vars/nextcloud.yml
Dustin C. Hatch c2c283c431 nextcloud: Back up Nextcloud with Restic
Now that the database is hosted externally, we don't have to worry about
backing it up specifically.  Restic only backs up the data on the
filesystem.
2024-09-04 17:41:42 -05:00

23 lines
689 B
YAML

nextcloud_server_name: nextcloud.pyrocufflink.net
apache_server_name: '{{ nextcloud_server_name }}'
nextcloud_trusted_proxies:
- 127.0.0.1
- ::1
- '{{ lookup("dig", groups["public-web"][0]) }}'
nextcloud_trusted_domains:
- nextcloud.pyrocufflink.net
- nextcloud.pyrocufflink.blue
- '{{ ansible_fqdn }}'
nextcloud_smtp:
from: nextcloud@pyrocufflink.net
host: mail.pyrocufflink.blue
port: 25
dnf_automatic_exclude: nextcloud
nextcloud_db_host: postgresql.pyrocufflink.blue;sslcert=/etc/nextcloud/postgresql.cer;sslkey=/etc/nextcloud/postgresql.key;sslrootcert=system;sslmode=verify-full
restic_include:
- /var/lib/nextcloud
restic_exclude:
- /var/lib/nextcloud/data/*/files_trashbin