add expand to two hypervisors

This commit is contained in:
Pim Kunis 2023-05-04 12:29:29 +02:00
parent d8787fa9a6
commit ed6723e1da
11 changed files with 105 additions and 43 deletions

View file

@ -1,18 +1,22 @@
docker_node_labels:
- hostname: maestro
labels: {}
- hostname: swarmpub1
labels:
traefik: "true"
forgejo: "true"
- hostname: worker1
labels:
syncthing: "true"
seafile: "true"
radicale: "true"
public: "true"
mastodon: "true"
freshrss: "true"
hedgedoc: "true"
- hostname: swarmpub2
labels:
public: "true"
- hostname: swarmpriv1
labels:
private: "true"
overleaf: "true"
data_directories:
- 'traefik'
- 'forgejo'
syncthing: "true"
hedgedoc: "true"
radicale: "true"
- hostname: swarmpriv2
labels:
private: "true"
seafile: "true"
freshrss: "true"

View file

@ -1,4 +0,0 @@
data_directories:
- 'syncthing'
- 'seafile/data'
- 'seafile/db'

View file

@ -5,5 +5,11 @@ all:
children:
workers:
hosts:
worker1:
ansible_host: worker1.dmz
swarmpub1:
ansible_host: swarmpub1.dmz
swarmpub2:
ansible_host: swarmpub2.dmz
swarmpriv1:
ansible_host: swarmpriv1.dmz
swarmpriv2:
ansible_host: swarmpriv2.dmz