ansible/event-driven-ansible

run_job_template action issue

jonsaydam opened this issue · 4 comments

Hi,

Using run_job_template action in my rulebook. It triggers the job but then giving below error where it tries to get the result from the template. I think it is caused because of the double quotes after the job ID. Is anyone else having the same issue?

ansible_rulebook.exception.ControllerApiException: Failed to get from https://<controller_url>/api/v2/jobs/jobID//job_events/. Status: 404, Body: {"detail":"The requested resource could not be found."}

Thanks

Jon

Hi @jonsaydam, seems that this is an issue for https://github.com/ansible/ansible-rulebook
We would need the output of ansible-rulebook --version as well as the rulebook and any other relevant data that allows us to reproduce the error.

bzwei commented

@jonsaydam I believe the issue has been fixed. Try to use the latest ansible-rulebook.

The issue is resolved in the new version. Thanks