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

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

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

Here’s how I solved this with a task:
https://pastebin.com/6t4xrc2W

Thanks! I have solved it by creating it manually.