2020-12-24 14:27:31 +01:00
|
|
|
---
|
2020-12-31 13:21:56 +01:00
|
|
|
- name: general host setup
|
|
|
|
hosts: all
|
2021-01-01 16:02:17 +01:00
|
|
|
become: true
|
2020-12-31 13:21:56 +01:00
|
|
|
roles:
|
|
|
|
- system-security
|
|
|
|
- system-update
|
2020-12-31 14:17:04 +01:00
|
|
|
- native-journalctl
|
2021-06-19 11:45:12 +02:00
|
|
|
#- native-hostname
|
2022-01-30 13:22:47 +01:00
|
|
|
- name: setup btrfs health check
|
|
|
|
hosts: btrfs_health_check_hosts
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- native-btrfs-health-check
|
2021-01-11 18:51:44 +01:00
|
|
|
- name: setup standard wireguard hosts
|
2020-12-31 13:21:56 +01:00
|
|
|
hosts: wireguard_hosts
|
2021-01-01 16:02:17 +01:00
|
|
|
become: true
|
2020-12-24 14:27:31 +01:00
|
|
|
roles:
|
|
|
|
- native-wireguard
|
2021-01-11 18:51:44 +01:00
|
|
|
- name: setup wireguard hosts behind firewall\nat
|
|
|
|
hosts: wireguard_behind_firewall_hosts
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- native-wireguard-behind-firewall
|
2022-03-17 16:28:57 +01:00
|
|
|
|
|
|
|
# Native Webserver Roles
|
2020-12-31 10:21:33 +01:00
|
|
|
- name: setup homepages
|
|
|
|
hosts: homepage_hosts
|
2021-01-01 16:02:17 +01:00
|
|
|
become: true
|
2020-12-24 14:27:31 +01:00
|
|
|
roles:
|
|
|
|
- role: native-homepage
|
|
|
|
vars:
|
|
|
|
domain: "{{top_domain}}"
|
2022-03-17 16:28:57 +01:00
|
|
|
- name: setup redirect hosts
|
|
|
|
hosts: redirect_hosts
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- role: native-https-redirect
|
|
|
|
vars:
|
|
|
|
domain_mappings: "{{redirect_domain_mappings}}"
|
|
|
|
|
|
|
|
# Docker Roles
|
2020-12-31 10:21:33 +01:00
|
|
|
- name: setup nextcloud hosts
|
|
|
|
hosts: nextcloud_hosts
|
2021-01-01 16:02:17 +01:00
|
|
|
become: true
|
2020-12-31 10:21:33 +01:00
|
|
|
roles:
|
2020-12-24 14:27:31 +01:00
|
|
|
- role: docker-nextcloud
|
|
|
|
vars:
|
|
|
|
domain: cloud.{{top_domain}}
|
|
|
|
http_port: 8001
|
2020-12-31 10:21:33 +01:00
|
|
|
- name: setup gitea hosts
|
|
|
|
hosts: gitea_hosts
|
2021-01-01 16:02:17 +01:00
|
|
|
become: true
|
2020-12-31 10:21:33 +01:00
|
|
|
roles:
|
2020-12-24 14:27:31 +01:00
|
|
|
- role: docker-gitea
|
|
|
|
vars:
|
|
|
|
domain: git.{{top_domain}}
|
|
|
|
http_port: 8002
|
|
|
|
ssh_port: 2201
|
|
|
|
run_mode: prod
|
2020-12-31 10:21:33 +01:00
|
|
|
- name: setup wordpress hosts
|
|
|
|
hosts: wordpress_hosts
|
2021-01-01 16:02:17 +01:00
|
|
|
become: true
|
2020-12-31 10:21:33 +01:00
|
|
|
roles:
|
2020-12-24 14:27:31 +01:00
|
|
|
- role: docker-wordpress
|
|
|
|
vars:
|
2021-10-18 20:24:52 +02:00
|
|
|
domains: "{{wordpress_domains}}"
|
2020-12-24 14:27:31 +01:00
|
|
|
http_port: 8003
|
2020-12-31 10:21:33 +01:00
|
|
|
- name: setup mediawiki hosts
|
|
|
|
hosts: mediawiki_hosts
|
2021-01-01 16:02:17 +01:00
|
|
|
become: true
|
2020-12-31 10:21:33 +01:00
|
|
|
roles:
|
2020-12-24 14:27:31 +01:00
|
|
|
- role: docker-mediawiki
|
|
|
|
vars:
|
|
|
|
domain: wiki.{{top_domain}}
|
|
|
|
http_port: 8004
|
2020-12-31 10:21:33 +01:00
|
|
|
- name: setup mybb hosts
|
|
|
|
hosts: mybb_hosts
|
2021-01-01 16:02:17 +01:00
|
|
|
become: true
|
2020-12-31 10:21:33 +01:00
|
|
|
roles:
|
2020-12-24 14:27:31 +01:00
|
|
|
- role: docker-mybb
|
|
|
|
vars:
|
|
|
|
domain: forum.{{top_domain}}
|
|
|
|
http_port: 8005
|
2021-10-22 10:40:54 +02:00
|
|
|
- name: setup turn server
|
|
|
|
hosts: turn_server_hosts
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- role: docker-turn-server
|
2020-12-31 10:21:33 +01:00
|
|
|
- name: setup yourls hosts
|
|
|
|
hosts: yourls_hosts
|
2021-01-01 16:02:17 +01:00
|
|
|
become: true
|
2020-12-31 10:21:33 +01:00
|
|
|
roles:
|
2020-12-24 14:27:31 +01:00
|
|
|
- role: docker-yourls
|
|
|
|
vars:
|
|
|
|
domain: s.{{top_domain}}
|
|
|
|
http_port: 8006
|
2020-12-31 10:21:33 +01:00
|
|
|
- name: setup mailu hosts
|
|
|
|
hosts: mailu_hosts
|
2021-01-01 16:02:17 +01:00
|
|
|
become: true
|
2020-12-31 10:21:33 +01:00
|
|
|
roles:
|
2020-12-27 19:41:35 +01:00
|
|
|
- role: docker-mailu
|
|
|
|
vars:
|
|
|
|
domain: "mail.{{top_domain}}"
|
|
|
|
http_port: 8007
|
2020-12-31 10:21:33 +01:00
|
|
|
- name: setup elk hosts
|
|
|
|
hosts: elk_hosts
|
2021-01-01 16:02:17 +01:00
|
|
|
become: true
|
2020-12-31 10:21:33 +01:00
|
|
|
roles:
|
2020-12-30 15:41:34 +01:00
|
|
|
- role: docker-elk
|
|
|
|
vars:
|
2020-12-30 20:32:28 +01:00
|
|
|
domain: "elk.{{top_domain}}"
|
2020-12-30 15:41:34 +01:00
|
|
|
http_port: 8008
|
2022-11-15 11:56:48 +01:00
|
|
|
- name: setup mastodon hosts
|
|
|
|
hosts: mastodon_hosts
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- role: docker-mastodon
|
|
|
|
vars:
|
|
|
|
domain: "mastodon.{{top_domain}}"
|
|
|
|
http_port: 8009
|
|
|
|
stream_port: 4001
|
2022-11-16 11:17:37 +01:00
|
|
|
- name: setup pixelfed hosts
|
|
|
|
hosts: pixelfed_hosts
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- role: docker-pixelfed
|
|
|
|
vars:
|
|
|
|
domain: pixelfed.{{top_domain}}
|
|
|
|
http_port: 8010
|
2022-11-17 14:47:25 +01:00
|
|
|
- name: setup peertube hosts
|
|
|
|
hosts: peertube_hosts
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- role: docker-peertube
|
|
|
|
vars:
|
|
|
|
domain: peertube.{{top_domain}}
|
|
|
|
http_port: 8011
|
2022-12-02 12:57:15 +01:00
|
|
|
- name: setup bigbluebutton hosts
|
|
|
|
hosts: bigbluebutton_hosts
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- role: docker-bigbluebutton
|
|
|
|
vars:
|
|
|
|
domain: bbb.{{top_domain}}
|
2022-12-05 17:43:21 +01:00
|
|
|
- name: setup funkwhale hosts
|
|
|
|
hosts: funkwhale_hosts
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- role: docker-funkwhale
|
|
|
|
vars:
|
|
|
|
domain: funkwhale.{{top_domain}}
|
|
|
|
http_port: 8012
|
2022-12-06 20:20:02 +01:00
|
|
|
- name: setup roulette-wheel hosts
|
|
|
|
hosts: roulette_wheel_hosts
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- role: docker-roulette-wheel
|
|
|
|
vars:
|
|
|
|
domain: roulette.{{top_domain}}
|
|
|
|
http_port: 8013
|
2022-01-18 19:26:44 +01:00
|
|
|
- name: setup akaunting hosts
|
|
|
|
hosts: akaunting_hosts
|
2022-01-18 19:08:45 +01:00
|
|
|
become: true
|
|
|
|
roles:
|
2022-01-18 19:26:44 +01:00
|
|
|
- role: docker-akaunting
|
2022-01-18 19:08:45 +01:00
|
|
|
vars:
|
2022-01-18 19:26:44 +01:00
|
|
|
domain: akaunting.{{top_domain}}
|
2022-01-18 19:08:45 +01:00
|
|
|
http_port: 8080
|
2022-03-17 16:28:57 +01:00
|
|
|
|
|
|
|
# Backup Roles
|
|
|
|
- name: setup replica backup hosts
|
|
|
|
hosts: replica_backup_hosts
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- role: native-pull-primary-backups
|