feat: add worker nodes to docker swarm setup

This commit is contained in:
Alexander Navarro 2024-12-10 16:26:17 -03:00
parent 22d7e4a318
commit d318880600
10 changed files with 252 additions and 112 deletions

View file

@ -0,0 +1,25 @@
---
argument_specs:
main:
short_description: Main entrypoint
author:
- aleidk
options:
users:
type: "list"
elements: "str"
default: []
description:
- "list of users to add to the docker group"
swarm_workers:
short_description: Docker swarm workers setup
author:
- aleidk
options:
managers_group:
type: "str"
required: true
description:
- "The host group of the managers"
- "Used to obtain the advertised address and join tokens"