On 19. okt. 2017 19:44, Deniz Rende wrote: > Kai, > > I am not just talking about inventory file....it is the /etc/ansible > directory itself. > > It is clear: "Once running the env-setup script you’ll be running from > checkout and the >> default inventory file will be /etc/ansible/hosts." > > Ok, so forget about the inventory file, where is the /etc/ansible directory > ? > > Again, this did not happen with other distros such as Centos, or Ubuntu. The same is true for /etc/ansible, this is the default folder for Ansible but is not automatically created.
If using the source as you did or pip install on Centos or Ubuntu the /etc/ansible will not be created. But using the yum package for Centos or deb package for Ubuntu the /etc/ansible will be created. That's because the person who created the packages have added to the package the creation of the folder /etc/ansible and the files in it. And as Brian mention the person that package the brew have chosen a different directory than /etc/ansible. So if you using any other method of installing Ansible you must likely need to create the folder for yourself. I have also written a little about it in this thread https://groups.google.com/d/msg/ansible-project/KfyPYZLr2UU/aPtj-EUFAwAJ -- Kai Stian Olstad -- 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/b7bcf927-23b5-2411-fb78-f6e7cb8ec3e5%40olstad.com. For more options, visit https://groups.google.com/d/optout.
