-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed: AnsibleNonZero: Error running Ansible Node Step. #46
Comments
Hi, please get more information via the debug mode (see README). |
Hi @frantyo , Any updates on this ? |
I had a similar problem, at least the error message was the same. It seem to work better if I set the "hosts" directive in my playbook. I can set hosts to something and then use that something as a tag in my project node filter. EDIT: removed some stuff since I couldn't reproduce it. Also, I see you ask people to debug rundeck using the instructions in the readme: "add a Java system property named ansible.debug with the value true. You can do that for example in /etc/rundeck/profile, make sure to restart your rundeck service." This should need some examples as well. I have no clue how to set a java system property somewhere in the profile file. If we want to display bad hosts, maybe we can tag them with OFFLINE or some custom tag? |
I have the same problem. 15:19:46 2: Workflow step executing: StepExecutionItem{type='NodeDispatch', keepgoingOnSuccess=false, hasFailureHandler=false} rundeck job have two resources:
Additional info: rundeck don't get nodes from ansible inventory. |
@another-admin |
@ALL..
Create a the same job in this project and see if it runs fine ? Let me know if that worked for you |
Hi @another-admin @farkasferi , I would avoid using Node Steps, you can check release 2.0.0 (note that the Node steps are removed, please use workflow steps instead) Thanks, |
I'm using the latest Rundeck, Ansible, and Rundeck ansible plugin.
I keep getting this error:
08:31:59 localhost 1. Ansible Playbook Using /etc/ansible/ansible.cfg as config file
08:31:59 Failed: AnsibleNonZero: Error running Ansible Node Step.
08:31:59 Execution failed: 6: [Workflow result: , step failures: {1=Dispatch failed on 1 nodes: [localhost: AnsibleNonZero: Error running Ansible Node Step.]}, Node failures: {localhost=[AnsibleNonZero: Error running Ansible Node Step.]}, status: failed]
What do i wrong?
The text was updated successfully, but these errors were encountered: