Open mathieumd opened 1 month ago
Please try to supply the env-variable at https://<host>/ui/system/config
The ansible-runner is actually not inheriting the env-vars from the WebUI service. (as this would also be a security issue)
Maybe the documentation could be improved? Do you have an idea on what to add?
Note: just tested it and it worked
I confirm that too.
So maybe the doc should state that Systemd unit EnvironmentFile
is not where to put some (which?) environment variables?
Versions
Version 0.0.24.post3
Scope
Ansible (Job Execution)
Issue
Since #60, I'm trying to override the default
ANSIBLE_HOST_KEY_CHECKING
, as it's set to True by default, but neitherEnvironmentFile
orEnvironment
in Systemd unit seems to works:The job is blocking for 1h, then fails:
What's the correct way to change
ANSIBLE_HOST_KEY_CHECKING
?