Yeah, fair enough. I guess I'll just move host_vars and group_vars into the inventory directory.
Thanks :) GS On Friday, January 24, 2014 9:09:41 AM UTC+11, Michael DeHaan wrote: > > Nope. > > It's relative to inventory because it's a property of inventory. > > (What you are proposing would add a third location) > > > > On Thu, Jan 23, 2014 at 5:03 PM, Gonzalo Servat <[email protected]<javascript:> > > wrote: > >> Hi All, >> >> I've done a strace of ansible and ansible-playbook and noticed that >> "ansible" will look at the 'host_vars' directory relative to the inventory >> script path, and "ansible-playbook" will look at that *plus* the >> 'host_vars' directory relative to the path where the playbook lives. >> >> Is there a way to specify a root directory where ansible and >> ansible-playbook will both look for the {host,group}_vars directories? >> >> - GS >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Michael DeHaan <[email protected] <javascript:>> > CTO, AnsibleWorks, Inc. > http://www.ansibleworks.com/ > > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
