Problem job Ansible

14 views
Skip to first unread message

Nicolas

unread,
Sep 30, 2025, 7:35:25 AM (9 days ago) Sep 30
to rundeck-discuss
Hello,

I want to run a job in Rundeck, but I'm currently having a problem and I can't figure it out.
The goal of my job is to be able to use a remote node (already configured and from which I can run commands from the ‘commands’ interface).
In my workflow step, I chose: Ansible Playbook Workflow Node Step.

Every time I launch my job, it crashes:
Failed: AnsibleNonZero: ERROR: cannot encrypt extra var values: Cannot run program ‘/usr/bin/ansible-vault’ (in directory ‘/home/admin/automatisation_infra/playbooks’): error=13, Permission denied

After several hours of debugging, I concluded (I'm not sure) that it is the Ansible on my Rundeck server that is trying to launch from my remote node, and that the Rundeck account for the server is not present on my server. I tried to create a Rundeck account on my machine, but that didn't work either. My question is, am I misunderstanding how to use the ‘Ansible Playbook Workflow Node step’ and how it works?

Translated with DeepL.com (free version)

rac...@rundeck.com

unread,
Sep 30, 2025, 7:43:20 AM (9 days ago) Sep 30
to rundeck-discuss
Hi,

Ansible and Rundeck must coexist on the same server. Your job is trying to run the ansible-vault binary in a nonexistent path on your Rundeck server (or a restricted path). Please take a look at this. Also, check this practical example.

Regards.
Reply all
Reply to author
Forward
0 new messages