Browse Source

playbook nextcloud with onlyoffice and backup

python3
Zolfa 5 years ago
parent
commit
e095830fd8
Signed by: zolfa GPG Key ID: E1A43B038C4D6616
1 changed files with 36 additions and 3 deletions
  1. +36
    -3
      nextcloud.yaml

+ 36
- 3
nextcloud.yaml View File

@ -1,15 +1,48 @@
---
- import_playbook: 'prepare_lxc_guest.yaml'
vars:
host: 'cloud'
vm_size: '4G'
host: 'nextcloud'
vm_size: '20G'
unprivileged: true
- hosts: 'cloud'
- hosts: 'nextcloud'
vars:
reverse_proxy_proxy_protocol: false
nginx_proxy_protocol: false
nginx_tls_1_2: true
roles:
- role: 'dns_record'
- role: 'reverse_proxy'
reverse_proxy_www_redir: false
reverse_proxy_site_fqdn:
- 'cloud.lilik.it'
- 'cloud.sestograd.org'
- 'docs.sestograd.org'
- role: 'nextcloud'
nextcloud_nginx_fqdn: 'cloud.lilik.it'
nextcloud_nginx_alternate_fqdns:
- 'cloud.sestograd.org'
- role: 'onlyoffice'
onlyoffice_nginx_fqdn: 'docs.sestograd.org'
tags: onlyoffice
- role: 'monitoring-agent'
- role: 'borgrepo'
borgrepo_repos:
core:
folders:
nextcloud_data:
path: '/opt/nextcloud_data'
pgsql_dbs:
nextcloud_db:
dbname: 'nextcloud'
extras:
folders:
onlyoffice_data:
path: '/var/lib/onlyoffice/documentserver'
pgsql_dbs:
onlyoffice_db:
dbname: 'onlyoffice'
tags: borg
- hosts: 'monitoring_hosts'
roles:


Loading…
Cancel
Save