[ansible-project] Re: Can I define my inventory in my playbook directory?

2016-08-31 Thread skinnedknuckles
Thanks Kai for pointing out my mistake!! On Wednesday, August 24, 2016 at 10:02:37 AM UTC-5, skinnedknuckles wrote: > > Management Node: > >- CentOs 6 >- Ansible 2.1 > > Remote Node: > >- Windows 7 >- Powershell 3.0 > > > My playbooks are all saved in /home/username/playboo

Re: [ansible-project] Re: Can I define my inventory in my playbook directory?

2016-08-31 Thread Kai Stian Olstad
On 31. aug. 2016 19:13, skinnedknuckles wrote: I must be missing something. I created a ansible.cfg file with this... [default] hostfile = /fs01/home/janderson/hosts and one with this... [default] inventory = /fs01/home/janderson/hosts This last one is almost correct, but you are missing an

[ansible-project] Re: Can I define my inventory in my playbook directory?

2016-08-31 Thread skinnedknuckles
I must be missing something. I created a ansible.cfg file with this... [default] hostfile = /fs01/home/janderson/hosts and one with this... [default] inventory = /fs01/home/janderson/hosts and neither one worked. Where can I get a default or sample ansible.cfg file to modify? On Wednesd