Jenkins setup:
Version 2.440.1
Hi to all,
i need that Jenkins pipeline ,can use ansible collections plugins, on a CLI with ansible user i show this plugins and i can get my result ok but in a job from Jenkins pipeline output showed that not found them…
[WARNING]: Failed to load inventory plugin, skipping google.cloud.gcp_compute
But if i execute same ansible-playbook command in CLI output is OK.
My ansible config:
ansible-playbook [core 2.15.3]
config file = /etc/ansible/ansible.cfg configured module search path = ['/var/lib/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.11/site-packages/ansible
ansible collection location = /home/ansible/.ansible/collections/ansible_collections/, /var/lib/jenkins/.ansible/collections
executable location = /usr/bin/ansible
I had installed Ansible plugin on Jenkin and set path where executables ansible are located and i see same situation.
name: ansible-playbook
path instalation: /usr/bin
Any idea?
thanks in advance!
Regards,
–
Ed. < allways learning