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
> 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/7968159a-88bc-4840-81fb-b3aba9493e32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to