feat: add labels to swarm workers

This commit is contained in:
Alexander Navarro 2024-12-10 18:52:58 -03:00
parent d318880600
commit 7a01bb6abf
5 changed files with 40 additions and 14 deletions

View file

@ -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
View 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