feat: add labels to swarm workers
This commit is contained in:
parent
d318880600
commit
7a01bb6abf
5 changed files with 40 additions and 14 deletions
|
|
@ -1,12 +0,0 @@
|
|||
[homelab:children]
|
||||
docker
|
||||
|
||||
[docker:children]
|
||||
docker_managers
|
||||
docker_workers
|
||||
|
||||
[docker_managers]
|
||||
10.0.10.50
|
||||
|
||||
[docker_workers]
|
||||
10.0.10.[51:52]
|
||||
21
hosts/inventory.yaml
Normal file
21
hosts/inventory.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
homelab:
|
||||
children:
|
||||
docker:
|
||||
|
||||
docker:
|
||||
children:
|
||||
docker_managers:
|
||||
docker_workers:
|
||||
|
||||
docker_managers:
|
||||
hosts:
|
||||
10.0.10.50:
|
||||
|
||||
docker_workers:
|
||||
hosts:
|
||||
10.0.10.51:
|
||||
node_labels:
|
||||
services_kind: projects
|
||||
10.0.10.52:
|
||||
node_labels:
|
||||
services_kind: common
|
||||
Loading…
Add table
Add a link
Reference in a new issue