mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 12:41:05 +01:00
Changed playbook structure
This commit is contained in:
parent
fb126e9331
commit
61bd70eee2
34
site.yml
34
site.yml
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: setup arch servers
|
- name: setup arch hosts
|
||||||
hosts: arch_servers
|
hosts: arch_hosts
|
||||||
roles:
|
roles:
|
||||||
- native-security
|
- native-security
|
||||||
- native-pacman
|
- native-pacman
|
||||||
@ -10,45 +10,71 @@
|
|||||||
hosts: backup_stores
|
hosts: backup_stores
|
||||||
roles:
|
roles:
|
||||||
- native-pull-remote-backups
|
- native-pull-remote-backups
|
||||||
- name: setup webservers
|
- name: setup homepages
|
||||||
hosts: webservers
|
hosts: homepage_hosts
|
||||||
roles:
|
roles:
|
||||||
- role: native-homepage
|
- role: native-homepage
|
||||||
vars:
|
vars:
|
||||||
domain: "{{top_domain}}"
|
domain: "{{top_domain}}"
|
||||||
|
- name: setup nextcloud hosts
|
||||||
|
hosts: nextcloud_hosts
|
||||||
|
roles:
|
||||||
- role: docker-nextcloud
|
- role: docker-nextcloud
|
||||||
vars:
|
vars:
|
||||||
domain: cloud.{{top_domain}}
|
domain: cloud.{{top_domain}}
|
||||||
http_port: 8001
|
http_port: 8001
|
||||||
|
- name: setup gitea hosts
|
||||||
|
hosts: gitea_hosts
|
||||||
|
roles:
|
||||||
- role: docker-gitea
|
- role: docker-gitea
|
||||||
vars:
|
vars:
|
||||||
domain: git.{{top_domain}}
|
domain: git.{{top_domain}}
|
||||||
http_port: 8002
|
http_port: 8002
|
||||||
ssh_port: 2201
|
ssh_port: 2201
|
||||||
run_mode: prod
|
run_mode: prod
|
||||||
|
- name: setup wordpress hosts
|
||||||
|
hosts: wordpress_hosts
|
||||||
|
roles:
|
||||||
- role: docker-wordpress
|
- role: docker-wordpress
|
||||||
vars:
|
vars:
|
||||||
domain: www.{{top_domain}}
|
domain: www.{{top_domain}}
|
||||||
http_port: 8003
|
http_port: 8003
|
||||||
|
- name: setup mediawiki hosts
|
||||||
|
hosts: mediawiki_hosts
|
||||||
|
roles:
|
||||||
- role: docker-mediawiki
|
- role: docker-mediawiki
|
||||||
vars:
|
vars:
|
||||||
domain: wiki.{{top_domain}}
|
domain: wiki.{{top_domain}}
|
||||||
http_port: 8004
|
http_port: 8004
|
||||||
|
- name: setup mybb hosts
|
||||||
|
hosts: mybb_hosts
|
||||||
|
roles:
|
||||||
- role: docker-mybb
|
- role: docker-mybb
|
||||||
vars:
|
vars:
|
||||||
domain: forum.{{top_domain}}
|
domain: forum.{{top_domain}}
|
||||||
http_port: 8005
|
http_port: 8005
|
||||||
|
- name: setup yourls hosts
|
||||||
|
hosts: yourls_hosts
|
||||||
|
roles:
|
||||||
- role: docker-yourls
|
- role: docker-yourls
|
||||||
vars:
|
vars:
|
||||||
domain: s.{{top_domain}}
|
domain: s.{{top_domain}}
|
||||||
http_port: 8006
|
http_port: 8006
|
||||||
|
- name: setup mailu hosts
|
||||||
|
hosts: mailu_hosts
|
||||||
|
roles:
|
||||||
- role: docker-mailu
|
- role: docker-mailu
|
||||||
vars:
|
vars:
|
||||||
domain: "mail.{{top_domain}}"
|
domain: "mail.{{top_domain}}"
|
||||||
http_port: 8007
|
http_port: 8007
|
||||||
https_port: 4431
|
https_port: 4431
|
||||||
|
- name: setup elk hosts
|
||||||
|
hosts: elk_hosts
|
||||||
|
roles:
|
||||||
- role: docker-elk
|
- role: docker-elk
|
||||||
vars:
|
vars:
|
||||||
domain: "elk.{{top_domain}}"
|
domain: "elk.{{top_domain}}"
|
||||||
http_port: 8008
|
http_port: 8008
|
||||||
|
- name: docker hosts
|
||||||
|
hosts: docker_hosts
|
||||||
- native-docker-volume-backup
|
- native-docker-volume-backup
|
||||||
|
Loading…
Reference in New Issue
Block a user