Hi mike, Yes exactly like this.
Same question for 400 Linux servers. I wan't to have 4 groups with each group have différent DNS config. Is there way to do this only using ansible yml and no scripting bash ? Thanks Le jeudi 4 janvier 2018 21:14:01 UTC+1, Mike Klebolt a écrit : > > Something like this? > > > group_vars/host_group1.yml > --- > DNS: > - 192.168.10.10 > - 192.168.10.11 > - 192.168.10.12 > > > group_vars/host_group2.yml > --- > DNS: > - 192.168.10.11 > - 192.168.10.12 > - 192.168.10.10 > > > > group_vars/host_group3.yml > --- > DNS: > - 192.168.10.12 > - 192.168.10.10 > - 192.168.10.11 > > > > > > On Thursday, December 28, 2017 at 12:22:45 PM UTC-6, Georges Orwell wrote: >> >> Hi everybody >> >> I'm looking for a way to deploy different DNS host config following the >> hosts group of Windows Servers >> The main goal is to load balance in fault of true proxy DNS. >> >> >> For exemple: >> >> [HOST GROUP1] >> >> Winserver1 >> Winserver2 >> Winserver3 >> >> >> [HOST GROUP2] >> >> Winserver4 >> Winserver5 >> Winserver6 >> >> >> [HOST GROUP3] >> >> Winserver7 >> Winserver8 >> Winserver9 >> >> >> >> >> >> >> HOST GROUP 1 = > DNS: 192.168.10.10,192.168.10.11,192.168.10.12 >> >> HOST GROUP 2 = > DNS: 192.168.10.11,192.168.10.12,192.168.10.10 >> >> HOST GROUP 3 = > DNS: 192.168.10.12,192.168.10.10,192.168.10.11 >> >> Thank you for your help >> >> Happy new year >> >> Georges >> >> >> > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/036d6d24-f84a-4388-b042-b0a6ee2f9bfe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
