Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.2 KiB

  1. ---
  2. - import_playbook: 'prepare_lxc_guest.yaml'
  3. vars:
  4. host: 'nextcloud'
  5. vm_size: '20G'
  6. unprivileged: true
  7. - hosts: 'nextcloud'
  8. vars:
  9. reverse_proxy_proxy_protocol: false
  10. nginx_proxy_protocol: false
  11. nginx_tls_1_2: true
  12. roles:
  13. - role: 'dns_record'
  14. - role: 'reverse_proxy'
  15. reverse_proxy_www_redir: false
  16. reverse_proxy_site_fqdn:
  17. - 'cloud.lilik.it'
  18. - 'cloud.sestograd.org'
  19. - 'docs.sestograd.org'
  20. - role: 'nextcloud'
  21. nextcloud_nginx_fqdn: 'cloud.lilik.it'
  22. nextcloud_nginx_alternate_fqdns:
  23. - 'cloud.sestograd.org'
  24. - role: 'onlyoffice'
  25. onlyoffice_nginx_fqdn: 'docs.sestograd.org'
  26. tags: onlyoffice
  27. - role: 'monitoring-agent'
  28. - role: 'borgrepo'
  29. borgrepo_repos:
  30. core:
  31. folders:
  32. nextcloud_data:
  33. path: '/opt/nextcloud_data'
  34. pgsql_dbs:
  35. nextcloud_db:
  36. dbname: 'nextcloud'
  37. extras:
  38. folders:
  39. onlyoffice_data:
  40. path: '/var/lib/onlyoffice/documentserver'
  41. pgsql_dbs:
  42. onlyoffice_db:
  43. dbname: 'onlyoffice'
  44. tags: borg
  45. - hosts: 'monitoring_hosts'
  46. roles:
  47. - role: 'icinga2-monitoring'
  48. ...