Problem with ansible.cfg file provided by repository

Hi folks,

I’m having a problem with ansible.cfg file which is built inside a repo and a playbook run by Jenkins.
Basically the problem is that Ansible not read configurations from the ansible.cfg file provided by the repo.

So, the playbook fail with: ERROR: Unable to find an inventory file, specify one with -i ?

This is mi config file:

ansible.cfg is read from current working directory, ~/.ansible.cfg or
/etc/ansible/ansible.cfg, so you have to be in the same directory when
executing the play to pick it up.

Thanks Brian.!!!

Yep.! It was a path problem.!!! It’s solved.!

Thanks again.!
Fede