Sounds like my ansible setup is rather different from yours, but I have wound up with a handful of config files for each environment - ones that configure connections to hosts I always keep separate from 'business' type vars.
I don't know if using the add_host module http://docs.ansible.com/ansible/add_host_module.html might help you to create a bunch of windows hosts, then add them to a windows group so they get the right vars when you try to connect to them. Hope this helps Jon On Thursday, June 16, 2016 at 3:37:35 PM UTC+1, Jordan Borean wrote: > > Thanks for the suggestion, the trouble I am having is that I want to > create the instance from ec2 and all my hosts are gotten dynamically. Are > you suggesting I split up my config so the aws variables are in one file > and then my tagged application details are in another which contains the > connection details. Is there a better way to do it as I feel like > maintaining multiple config files can get difficult as it grows in the > future. > > Thanks > > Jordan > > -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c71da7d9-061e-47d7-b52c-5b55b9675c7c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.