Ansible and Docker Compose provisioning for torsion.org infrastructure.
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.
 
 

99 lines
3.3 KiB

  1. - hosts: apps.torsion.org
  2. vars_files:
  3. - group_vars/vault.yml
  4. vars:
  5. admin_email: webmaster@torsion.org
  6. roles:
  7. - role: common
  8. - role: remote_server
  9. - role: backup
  10. vars:
  11. backup_repositories:
  12. - 1982@usw-s001.rsync.net:apps.borg
  13. - cbht6li7@cbht6li7.repo.borgbase.com:repo
  14. backup_source_volumes:
  15. - /etc/bind:/mnt/source/bind/etc:ro
  16. - /etc/nginx/certs:/mnt/source/nginx/certs:ro
  17. - /var/cache/bind:/mnt/source/bind/cache:ro
  18. #- /var/lib/drone:/mnt/source/drone:ro
  19. - /var/lib/gitea:/mnt/source/gitea:ro
  20. - /var/lib/gotify:/mnt/source/gotify:ro
  21. - /var/lib/mediagoblin/user_dev:/mnt/source/mediagoblin/user_dev:ro
  22. - /var/lib/portainer:/mnt/source/portainer:ro
  23. - /var/lib/mailu:/mnt/source/mailu:ro
  24. - /var/lib/radicale:/mnt/source/radicale:ro
  25. backup_ssh_key_file: apps-root
  26. backup_known_hosts_key_files:
  27. - usw-s001.rsync.net
  28. - cbht6li7.repo.borgbase.com
  29. backup_encryption_passphrase: "{{ backup_encryption_passphrase_apps }}"
  30. backup_postgresql_databases:
  31. - name: gitea
  32. hostname: gitea-database
  33. username: gitea
  34. password: "{{ gitea_database_password }}"
  35. - name: mediagoblin
  36. hostname: mediagoblin-database
  37. username: mediagoblin
  38. password: "{{ mediagoblin_database_password }}"
  39. - role: mail_server
  40. mail_server_hostname: mail2.torsion.org
  41. mail_server_secret_key: "{{ mail_server_secret_key_apps }}"
  42. mail_server_public_hostnames:
  43. - torsion.org
  44. mail_server_mailu_version: 1.7
  45. - role: domain_name_server
  46. - role: calendar_server
  47. calendar_server_hostname: calendar.torsion.org
  48. - role: mediagoblin
  49. mediagoblin_from_email: media@torsion.org
  50. mediagoblin_hostname: media.torsion.org
  51. mediagoblin_email_host: mail2.torsion.org
  52. mediagoblin_email_port: 587
  53. - role: gitea
  54. gitea_hostname: projects.torsion.org
  55. gitea_version: 1.12.5
  56. - role: container_dashboard
  57. container_dashboard_hostname: apps.torsion.org
  58. portainer_version: 1.24.1
  59. - role: torsion.org
  60. - role: monitoring
  61. monitoring_from_email: monitoring@torsion.org
  62. monitoring_to_email: root@torsion.org
  63. monitoring_hostname: monitoring.torsion.org
  64. monitoring_email_host: mail2.torsion.org
  65. monitoring_email_port: 587
  66. - role: notification_server
  67. notification_server_hostname: notification.torsion.org
  68. - hosts: automation.dandy
  69. vars_files:
  70. - group_vars/vault.yml
  71. roles:
  72. - role: common
  73. - role: remote_server
  74. - role: wireless
  75. - role: time_synchronization
  76. - role: home_automation
  77. mosquitto_version: 1.6.9
  78. home_assistant_version: 0.104.0
  79. home_automation_hostname: automation.dandy
  80. - hosts: audio.dandy
  81. vars_files:
  82. - group_vars/vault.yml
  83. vars:
  84. admin_email: webmaster@torsion.org
  85. roles:
  86. - role: common
  87. - role: remote_server
  88. - role: time_synchronization
  89. - role: audio_server
  90. airsonic_version: v10.6.2-ls61
  91. audio_server_hostname: audio.torsion.org
  92. time_zone: America/Los_Angeles
  93. - role: build_server
  94. build_server_hostname: build.torsion.org
  95. gitea_hostname: projects.torsion.org
  96. drone_version: 1.6.4