Fix docker-swarm for multi-ip machines
Added variable docker_swarm_advertise_addr which can be set to the advertise address swarm should use. Mostly introduced for vagrant-based test setups for now, which contain multiple IP addresses and fail otherwise.
This commit is contained in:
parent
7e99f97958
commit
b16ab5205c
3 changed files with 14 additions and 4 deletions
3
group_vars/testing.yml
Normal file
3
group_vars/testing.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
|
||||
docker_swarm_advertise_addr: eth1
|
||||
Loading…
Add table
Add a link
Reference in a new issue