feat: add worker nodes to docker swarm setup
This commit is contained in:
parent
22d7e4a318
commit
d318880600
10 changed files with 252 additions and 112 deletions
25
roles/docker/meta/argument_specs.yml
Normal file
25
roles/docker/meta/argument_specs.yml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue