Hi ,
I have installed Jenkins on AWS EC2 instance. I have created Maven Project
and added the settings to run "Ansibe Playbook" in post-builds section of
Jenkins.
While Jenkins executing the "ansible-playbook" im getting the below error.
[workspace] $ ansible-playbook /home/ubuntu/playbooks/petclinic.yml -i
/etc/ansible/hosts -s -U root -f 5
PLAY [MavenServers] ************************************************************
TASK [setup] *******************************************************************
fatal: [54.169.xx.xx]: UNREACHABLE! => {"changed": false, "msg": "Failed to
connect to the host via ssh.", "unreachable": true}
[ERROR]: Could not create retry file '/home/ubuntu/playbooks/petclinic.retry'.
The error was: [Errno 13] Permission denied:
'/home/ubuntu/playbooks/petclinic.retry'
PLAY RECAP *********************************************************************
54.169.xx.xx : ok=0 changed=0 unreachable=1 failed=0
Please help me.
Thanks in advance.
--Hazar.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/d94468f0-6491-4ab3-9549-a818c85494d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.