cannot find ansible.cfg and /etc/ansible on Mac Mojave

30 views
Skip to first unread message

Ronnie10

unread,
Oct 4, 2018, 5:24:17 AM10/4/18
to Ansible Project
Hi there,

I installed ansible 2.6.5 using pip, however I could find ansible.cfg and /etc/ansible folder in my macbook, I tried to create my own /etc/ansible but it doesn't work. Any other way to get that fixed?

Thank you,
Ronnie

Kai Stian Olstad

unread,
Oct 4, 2018, 6:40:32 AM10/4/18
to ansible...@googlegroups.com
On 04.10.2018 11:24, Ronnie10 wrote:
> I installed ansible 2.6.5 using pip, however I could find ansible.cfg
> and
> /etc/ansible folder in my macbook, I tried to create my own
> /etc/ansible
> but it doesn't work. Any other way to get that fixed?

pip doesn't create /etc/ansible or the file /etc/ansible/ansible.cfg so
you need to create them both manually.

--
Kai Stian Olstad

bill paxton

unread,
Oct 9, 2018, 3:02:10 PM10/9/18
to Ansible Project
Here's how I solved this with a task:
https://pastebin.com/6t4xrc2W

Ronnie10

unread,
Oct 9, 2018, 9:09:40 PM10/9/18
to Ansible Project
Thanks! I have solved it by creating it manually.
Reply all
Reply to author
Forward
0 new messages