Closed mbizkit76 closed 6 years ago
Seems to work well for me with multiple VMs defined. I found a tripping point wherein I was defining my VMs with a FQDN (e.g. test001.dev). This causes the resolver to silently break as it uses the full hostname from config.vm.hostname
when creating the local resolver entry, so test001.dev with config.dns.tld = 'dev'
becomes test001.dev.dev.
For me, a Vagrant multi-machine setup is also fully working. You can check the Vagrantfile here https://github.com/jonashackt/ansible-windows-docker-springboot/blob/master/step4-windows-linux-multimachine-vagrant-docker-swarm-setup/Vagrantfile. It comprises of 2 Ubuntu and 2 Windows Server 1709 boxes, which use this Plugin for later DNS resolution with Traefik proxy. See the full example here: https://github.com/jonashackt/ansible-windows-docker-springboot
fixed via #63
It would be very useful if this plugin could support multi machines enviroments At the time it seems not possible