rundeck-plugins / ansible-plugin

Ansible Integration for Rundeck
MIT License
329 stars 99 forks source link

pass additional ANSIBLE_ environment variables to the ansible executor #348

Open lukashartl opened 5 months ago

lukashartl commented 5 months ago

It is possible to change Ansible settings via either ansible.cfg, passing them as command line arguments, passing them as extra variables or via environment variables.

Let's take ANSIBLE_HOST_KEY_CHECKING as an example. Unfortunately, it can only be set as either:

Unfortunately Rundeck's options also don't help us here, as it is not possible to expose a variable name like ANSIBLE_HOST_KEY_CHECKING to the environment of ansible.

I think that would be a great improvement for the plugin. I would also be happy to help with the implementation.

hille721 commented 1 month ago

I also just looked for such an option as well