Job Failure with Error=2 No such file or directory

26 views
Skip to first unread message

Julian Brown Jr.

unread,
Feb 20, 2024, 3:59:35 PMFeb 20
to rundeck-discuss
When I try to run one of my jobs with ansible through rundeck I am getting this error:
"Failed: IOFailure: ERROR: Ansible IO failure: Cannot run program "/home/ermez/rundeck/ /home/ermez/.local/bin/ansible-playbook" (in directory "/tmp/ansible-rundeck1598437130091342751"): error=2, No such file or directory"

I looked through my /tmp directory and I see that this file doesn't exist but I don't know why not. Can I generate this file myself?

I am using rundeck 5.1.0 on a CentOS 7 VM
Installed using java WAR file

rac...@rundeck.com

unread,
Feb 21, 2024, 6:57:12 AMFeb 21
to rundeck-discuss
Hi Julian,

Could you double-check your job playbook step binaries/base paths? (or share the job definition to take a look).

I'm pretty sure that you're facing this. Check this answer.

Regards.

Julian Brown Jr.

unread,
Feb 21, 2024, 10:37:09 AMFeb 21
to rundeck-discuss
This was helpful thank you. This response here at the bottom is what helped me fix the problem I just had to correct the path to my config file and the base directory. I changed the base directory to the path of my playbooks and that worked. If I have any more issues like this I will reach out to you.

Thanks again,

Julian

rac...@rundeck.com

unread,
Feb 21, 2024, 10:42:56 AMFeb 21
to rundeck-discuss
Great, Julian. Keep up the good work!
Reply all
Reply to author
Forward
0 new messages