On Sun, Jan 20, 2019, at 12:56 PM, bng.ze...@gmail.com wrote:
> also make sure that you are in the root directory while doing mkdir
>
> On Friday, June 22, 2018 at 5:34:49 AM UTC+5:30, stifan kristi wrote:
> >
> > is file /etc/ansible/hosts exist? perhaps you should create it first
> > e.g.
> > sudo mkdir /etc/ansible/
> > sudo touch /etc/ansible/hosts
> > sudo chmod 777 /etc/ansible/hosts
Pretty sure that making the inventory executable will cause ansible to try to
run it as a script then use the output as inventory.
V/r,
James Cassell
> > sudo echo "localhost ansible_connection=local" >> /etc/ansible/hosts
> >
> > best regards,
> > stifan
> >
>
--
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/1548009140.3681874.1639382392.194815FB%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.