Re: [ansible-project] Re: Specifying a variable from command line for a specific host

2014-05-28 Thread Michael DeHaan
In that sort of configuration, I'd find pretty hackish and just go ahead and write the inventory file. You can keep the variables in the inventory file itself if you like, or use hostvars/hostname files. On Tue, May 27, 2014 at 7:51 PM, Jonathan Ellithorpe jdellitho...@gmail.com wrote:

Re: [ansible-project] Re: Specifying a variable from command line for a specific host

2014-05-27 Thread Michael DeHaan
I don't understand this. group_vars/ and host_vars/ files are in fact loaded if the host comes from inventory. Consider just using ansible hostname -m ... or ansible-playbook site.yml --limit hostname On Tue, May 27, 2014 at 12:52 AM, Jonathan Ellithorpe jdellitho...@gmail.com wrote: