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:

#########
[defaults]
inventory = ./inventory              <= Folder in which I have: hosts / 
ec2.ini and ec2.py files
host_key_checking = False
private_key_file = /home/jenkins/.ssh/private.pem                  <= Pem 
key to connect to servers

[ssh_connection]
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o 
UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
#########

Thanks,
Federico

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3ac89e19-714c-44b5-ada9-ae9346b37a5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to