use a single playbook to fuck everything
This commit is contained in:
parent
22f815e00b
commit
beb1f6a308
10
backup.yaml
10
backup.yaml
@ -1,10 +0,0 @@
|
||||
---
|
||||
- name: "Deploy backup server"
|
||||
hosts: backup
|
||||
roles:
|
||||
- netplan
|
||||
- common
|
||||
- internalsmtp
|
||||
- backupscript
|
||||
- backuphost
|
||||
...
|
10
dbhosts.yaml
10
dbhosts.yaml
@ -1,10 +0,0 @@
|
||||
---
|
||||
- name: "Deploy database server base"
|
||||
hosts: postgres
|
||||
roles:
|
||||
- netplan
|
||||
- common
|
||||
- customfirewall
|
||||
- backupscript
|
||||
- customfirewall
|
||||
...
|
@ -1,10 +0,0 @@
|
||||
---
|
||||
- name: "Deploy basic webhost with Docker"
|
||||
hosts: dockerwebhosts
|
||||
roles:
|
||||
- netplan
|
||||
- common
|
||||
- docker
|
||||
- webserver
|
||||
- internalsmtp
|
||||
...
|
@ -1,9 +0,0 @@
|
||||
---
|
||||
- name: "Deploy basic Docker host to drone-runner"
|
||||
hosts: drone-runner
|
||||
roles:
|
||||
- netplan
|
||||
- common
|
||||
- docker
|
||||
- internalsmtp
|
||||
...
|
12
gitea.yaml
12
gitea.yaml
@ -1,12 +0,0 @@
|
||||
---
|
||||
- name: "Deploy gitea in Docker"
|
||||
hosts: git
|
||||
roles:
|
||||
- netplan
|
||||
- common
|
||||
- docker
|
||||
- webserver
|
||||
- internalsmtp
|
||||
- backupscript
|
||||
- customfirewall
|
||||
...
|
70
infra.yaml
Normal file
70
infra.yaml
Normal 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
|
||||
...
|
10
neko.yaml
10
neko.yaml
@ -1,10 +0,0 @@
|
||||
---
|
||||
- name: "Setup neko"
|
||||
hosts: neko
|
||||
roles:
|
||||
- common
|
||||
- docker
|
||||
- neko
|
||||
- customfirewall
|
||||
- internalsmtp
|
||||
...
|
@ -1,8 +0,0 @@
|
||||
---
|
||||
- name: "Deploy smtpgateway to smtp.stargate.internal"
|
||||
hosts: smtp
|
||||
roles:
|
||||
- netplan
|
||||
- common
|
||||
- smtpgateway
|
||||
...
|
@ -1,8 +0,0 @@
|
||||
---
|
||||
- name: "Deploy managed web gateway"
|
||||
hosts: webgateway
|
||||
roles:
|
||||
- common
|
||||
- webgateway
|
||||
- internalsmtp
|
||||
...
|
Loading…
Reference in New Issue
Block a user