Hi Folks

Anyone can suggest anything for below problem 


For root user i see below for path :

root: ~ $ # ansible --version
ansible 2.10.6
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', 
'/usr/share/ansible/plugins/modules']
  ansible python module location = 
/usr/local/lib/python3.6/site-packages/ansible
  executable location = /bin/ansible
  python version = 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 
20150623 (Red Hat 4.8.5-44)]
root: ~ $ #




On the same box for Jenkins user i see below 


 ansible --version
ansible 2.10.6
  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/local/lib/python3.6/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 
20150623 (Red Hat 4.8.5-44)]




I think it is breaking stuff for me ... 


So i did 

ln -s /usr/local/bin/ansible /bin/ansible

but still no luck 


here is internally the issue is with Ansible jenkins plaugin .. 

java.io.IOException: Cannot run program "ansible-playbook" (in directory 
"/var/lib/jenkins/workspace/Project Create-VM-Paramater-new-V1"): error=2, 
No such file or directory 



thanks 
Kiran

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/74c8f99d-f65b-4fbe-935b-c353823e9821n%40googlegroups.com.

Reply via email to