doc: fix readme
This commit is contained in:
parent
a8fad8d12c
commit
f4eb6d85e4
1 changed files with 3 additions and 1 deletions
|
@ -11,9 +11,11 @@ Install and configure docker with swarm
|
||||||
|
|
||||||
## Role variables
|
## Role variables
|
||||||
|
|
||||||
|
* `swarm_init` - init the cluster, run once with the ansible option `-e swarm_init=true` (default: `false`)
|
||||||
* `swarm_manager` - set the cluster role (default: `false`)
|
* `swarm_manager` - set the cluster role (default: `false`)
|
||||||
* `swarm_advertise_addr` - listen address
|
* `swarm_advertise_addr` - listen address
|
||||||
* `swarm_join_token` - join token for slave node
|
* `swarm_join_token_manager` - join token for manager (use `docker swarm join-token manager` after init to set this variable)
|
||||||
|
* `swarm_join_token_worker` - join token for worker (use `docker swarm join-token worker` after init to set this variable)
|
||||||
* `swarm_remote_addrs` - manager addresses for slave node
|
* `swarm_remote_addrs` - manager addresses for slave node
|
||||||
* `swarm_networks` - array with the docker networks
|
* `swarm_networks` - array with the docker networks
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue