ansible Error while installation

21 views
Skip to first unread message

SR

unread,
Sep 17, 2016, 4:52:49 AM9/17/16
to Ansible Project

Hi Here,

While Im installing the ansible on MacOS X EI Capitan, Im getting below one after installation and doing ansible --version

Rameshs-MacBook-Pro:~ Ramesh$ ansible --version
ansible 2.1.1.0
  config file =
  configured module search path = Default w/o overrides
Rameshs-MacBook-Pro:~ Ramesh$ which ansible
/usr/local/bin/ansible


 

I can’t get the config file name here

Help me on fixing this.


Rameshs-MacBook-Pro:~ Ramesh$ which ansible
/usr/local/bin/ansible

engcheng

unread,
Sep 19, 2016, 1:18:00 PM9/19/16
to Ansible Project
Hi Ramesha,

Can you check if /etc/ansible has an "ansible.cfg" file?

If yes, do check the permission.
Else, you may hand-create the file and edit the contents.

Regards
Eng Cheng

shame...@gmail.com

unread,
Sep 19, 2016, 1:18:00 PM9/19/16
to Ansible Project

how to compare two files in ansible

Thanks
Shameer

Alexander H. Laughlin

unread,
Sep 19, 2016, 1:18:00 PM9/19/16
to Ansible Project
Hello,
If you put a config file with any of the names listed below in the directories mentioned below I believe you will find your problem solved.

* ANSIBLE_CONFIG (an environment variable)
* ansible.cfg (in the current directory)
* .ansible.cfg (in the home directory)
* /etc/ansible/ansible.cfg
Here are the relevant docs:

http://docs.ansible.com/ansible/intro_configuration.html#configuration-file

Cheers mate,
Alex

engcheng

unread,
Sep 19, 2016, 1:18:10 PM9/19/16
to Ansible Project
Hi Rameshs, do you have a ansible.cfg config file ready in /etc/ansible?


On Saturday, September 17, 2016 at 4:52:49 PM UTC+8, SR wrote:

Ramesh

unread,
Sep 27, 2016, 11:14:38 AM9/27/16
to ansible...@googlegroups.com
Thanks, fixed.

--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/8dIzP2xcZwk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-project+unsubscribe@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/4f8c510b-56e0-467a-b3f3-6697c2321832%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages