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.

41 lines
972 B

  1. ---
  2. - import_playbook: 'prepare_lxc_guest.yaml'
  3. vars:
  4. host: 'matrix'
  5. vm_size: '20G'
  6. unprivileged: true
  7. - hosts: 'matrix'
  8. vars:
  9. nginx_proxy_protocol: true
  10. reverse_proxy_proxy_protocol: true
  11. roles:
  12. - role: 'dns_record'
  13. - role: 'reverse_proxy'
  14. reverse_proxy_site_fqdn:
  15. - 'matrix.{{ domain }}'
  16. - 'riot.sestograd.org'
  17. - role: 'matrix-synapse'
  18. coturn_host: 'turn'
  19. coturn_port: '88'
  20. coturn_fqdn: '{{ domain }}'
  21. - role: 'riot-web'
  22. riot_web_nginx_fqdn: "riot.sestograd.org"
  23. - role: 'monitoring-agent'
  24. - role: 'borgrepo'
  25. borgrepo_repos:
  26. core:
  27. folders:
  28. synapse_data:
  29. path: '/var/lib/matrix-synapse'
  30. synapse_conf:
  31. path: '/etc/matrix-synapse'
  32. pgsql_dbs:
  33. synapse_db:
  34. dbname: 'synapse'
  35. tags: borg
  36. - hosts: 'monitoring_hosts'
  37. roles:
  38. - role: 'icinga2-monitoring'
  39. ...