All -
New to ansible and trying to understand the pattern of putting hosts
in the /etc/ansible directory.
I want ansible accessible from multiple machines and my intuition is
to put something like a .hosts file in the root directory of my
ansible git playbooks and have ansible by default look there (if /
etc/... doesn't exist). Then its just a checkout and a command to get
going. Why not allow this?
(If this is of interest, I'm happy to contribute the code for it).
Thanks
Yes, I got this. Was just curious why not having it first search
global and then local directory, or if I was missing another design
goal.
Regardless, brilliant software...finally feel like I can automate
server tasks in a logical way. Thanks for getting it out here.
Yes, I got this. Was just curious why not having it first search
global and then local directory, or if I was missing another design
goal.
Yeah, I suspect folks will have only one inventory file.
It can be set by the ANSIBLE_HOSTS environment variable if you want.
Regardless, brilliant software…finally feel like I can automate
server tasks in a logical way. Thanks for getting it out here.
Glad to hear it, thanks!