QT-DevOps / DevOpsIssues

This Repo will be used to demonstrate the Skills & Questions in DevOps
Apache License 2.0
27 stars 130 forks source link

iam executing ansible playbook in jenkins freejob then getting this error #1046

Open AnurAshok opened 1 year ago

AnurAshok commented 1 year ago

ERROR! the playbook: /usr/bin/ansible/playbooks/pb1.yml could not be found

AnurAshok commented 1 year ago

Actually my playbook path is /usr/bin/ansible/playbooks/pb1.yml

ns0411 commented 1 year ago

@AnurAshok Please try giving the absolute path of your playbook in the ansible-playbook command Like this: ansible-playbook /usr/bin/ansible/playbooks/pb1.yml