rundeck-plugins / ansible-plugin

Ansible Integration for Rundeck
MIT License
331 stars 100 forks source link

ansbile plugin is looking for the wrong path for inventory file #191

Open alexandnpu opened 6 years ago

alexandnpu commented 6 years ago

I am just starting to use rundeck with ansible.

Rundeck version is : 2.11.4

I configured that rundeck to parse my inventory file at /root/alex/deploy/production_mars. At first, it worked fine. But after my adding the second inventory file, it failed to parse the second file. After reboot, I saw the following error.

Unable to parse /tmp/ansible-hosts3717303261738722102/root/alex/deploy/production_mars as an inventory source

but on my box, it only has /tmp/ansible-hosts3684929625794203771. It seems that the plugin is still using the old temp directory after some triggers.

Is it a bug? or I should do some other work after rundeck reboot?

mcassaniti commented 6 years ago

Can you check your project configuration file, just in case it has stale paths please?