-
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
Node executor ignores "Ansible binaries path" option #331
Comments
Can confirm this, encountered the same while trying to use ansible from a custom venv path. |
I have a related problem and would like to have someone confirme that this is not just a problem with my setup and is related to this. Brief: The "Ansible binaries directory path" in the Project Settings is not safed after clicking "Save" button. No error appears. Rundeck: 4.13.0 To reproduce the issue/bug do:
You will jump back to your project, so go back to the Settings via (Step 1 and 2 above) The "Ansible binaries directory path" field is still empty and not set in my case. Question 1: Can this be verfied as a bug or setup issue on my side? Thanks for clarification. Question 2: Where is/should the value be saved on the machine? In DB, on Disk? I checked the DB and could not find it so far. (Using postgresql). I checked under /etc/rundeck in the *.properties files and could not find it either. |
Confirmed on the latest Rundeck / Plugin version. |
I was told there is a work around. I was given this as the work around - https://imgur.com/9fiCwoT |
Is anyone using the h2 database while having this issue? I'm using it because i'm still testing. |
Hello, any update on when this will get resolved? It is blocking our ability to update and migrate the application. |
So I just installed the rpm version of rundeck on CentOS Stream 9. I used the default DB (h2). I then created a new project and went back into the settings and was able to configure the Ansible path. After hitting save it worked. Also this was in the Edit Nodes -> Sources -> Ansible Resource Model Source. But this works!!! Has anyone else tried this? |
Whats the progress on this? Is any java developer looking into this? |
This is a bit of a show stopper for us. Not sure how others are getting around this.... |
My bad, it's still an issue in 4.15.0 :( |
I have ansible installed into a Python virtualenv. (Let's assume I will want a separate ansible install for every Rundeck project)
It is not present on the $PATH. It is at
/var/lib/rundeck/_workspace/ansible/venv/bin/ansible-playbook
The Ansible default node executor for my project has the path for the ansible binaries set:
You can see from strace output, when I run an ad-hoc ansible playbook job, that rundeck is just trying to find the ansible-playbook binary on $PATH instead of the exact directory I gave it in the setup.
Rundeck should look in the directory specified (
ansible-binaries-dir-path
) in the project setup for the binary, should it not?The text was updated successfully, but these errors were encountered: