Execute shell : strange behaviour

21 views
Skip to first unread message

Florent B

unread,
Apr 6, 2016, 11:36:22 AM4/6/16
to Jenkins Users
Hi everyone,

I use Jenkins to run Ansible playbooks.

I configured my job with "Execute shell" and set my ansible-playbook
command inside.

It works right, but Ansible never reads its configuration file at
/etc/ansible/ansible.cfg (default location, nothing to set to read it).

When I run the exact same command in my shell via SSH, configuration
file is read, but not when running through Jenkins.

Do you have an idea of what could cause that in "Execute shell" system ?

Thank you.

Florent

geoffroy...@gmail.com

unread,
Apr 6, 2016, 12:50:55 PM4/6/16
to Jenkins Users
Reply all
Reply to author
Forward
0 new messages