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 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/playbooks.
>
> My inventory file is saved as /etc/ansible/hosts.
>
> And I also use the file etc/ansible/group_vars/windows.yml
>
> I find it a hassle to go back and forth between these 2 locations.  Why 
> can't I define my inventory and group vars in my playbooks directory?  What 
> is the best way to do that?
>

-- 
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/1a17d6e4-4132-47fb-bde9-38662011529d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to