use a single playbook to fuck everything

This commit is contained in:
Torma Kristóf 2022-04-17 00:26:04 +02:00
parent 22f815e00b
commit beb1f6a308
9 changed files with 70 additions and 77 deletions

View File

@ -1,10 +0,0 @@
---
- name: "Deploy backup server"
hosts: backup
roles:
- netplan
- common
- internalsmtp
- backupscript
- backuphost
...

View File

@ -1,10 +0,0 @@
---
- name: "Deploy database server base"
hosts: postgres
roles:
- netplan
- common
- customfirewall
- backupscript
- customfirewall
...

View File

@ -1,10 +0,0 @@
---
- name: "Deploy basic webhost with Docker"
hosts: dockerwebhosts
roles:
- netplan
- common
- docker
- webserver
- internalsmtp
...

View File

@ -1,9 +0,0 @@
---
- name: "Deploy basic Docker host to drone-runner"
hosts: drone-runner
roles:
- netplan
- common
- docker
- internalsmtp
...

View File

@ -1,12 +0,0 @@
---
- name: "Deploy gitea in Docker"
hosts: git
roles:
- netplan
- common
- docker
- webserver
- internalsmtp
- backupscript
- customfirewall
...

70
infra.yaml Normal file
View File

@ -0,0 +1,70 @@
---
- name: "Deploy basic webhost with Docker"
hosts: dockerwebhosts
roles:
- netplan
- common
- docker
- webserver
- internalsmtp
- name: "Deploy database server base"
hosts: postgres
roles:
- netplan
- common
- customfirewall
- backupscript
- customfirewall
- name: "Deploy basic Docker host to drone-runner"
hosts: drone-runner
roles:
- netplan
- common
- docker
- internalsmtp
- name: "Deploy gitea in Docker"
hosts: git
roles:
- netplan
- common
- docker
- webserver
- internalsmtp
- backupscript
- customfirewall
- name: "Setup neko"
hosts: neko
roles:
- common
- docker
- neko
- customfirewall
- internalsmtp
- name: "Deploy smtpgateway to smtp.stargate.internal"
hosts: smtp
roles:
- netplan
- common
- smtpgateway
- name: "Deploy managed web gateway"
hosts: webgateway
roles:
- common
- webgateway
- internalsmtp
- name: "Deploy backup server"
hosts: backup
roles:
- netplan
- common
- internalsmtp
- backupscript
- backuphost
...

View File

@ -1,10 +0,0 @@
---
- name: "Setup neko"
hosts: neko
roles:
- common
- docker
- neko
- customfirewall
- internalsmtp
...

View File

@ -1,8 +0,0 @@
---
- name: "Deploy smtpgateway to smtp.stargate.internal"
hosts: smtp
roles:
- netplan
- common
- smtpgateway
...

View File

@ -1,8 +0,0 @@
---
- name: "Deploy managed web gateway"
hosts: webgateway
roles:
- common
- webgateway
- internalsmtp
...