-
Notifications
You must be signed in to change notification settings - Fork 122
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
community.docker.docker add environment var overwrite #937
Comments
Out of curiosity: why does that not work? |
@felixfontein because it gets replaced like this: And if you try putting the
|
I've created an implementation in #940. Can you try it out? |
Could you add one or two examples on how to use this new setting from within e.g. an ini file? You specified it to support ini and env but also it being of type dict. Is it space separated e.g.:
|
My guess is that ansible-core's configuratrion manager would accept JSON strings here the same as it would accept them as inputs to dictionary module options. But unfortunately that doesn't seem to be the case, and it only accepts actual mappings :( Well I guess I'll remove env and ini support then, until ansible-core fixes that. |
SUMMARY
Please add an option to specify environment variables. Sadly lthel existing
ansible_docker_extra_args
cannot be used to pass the--env
option therefore a new additional option would be required.ISSUE TYPE
COMPONENT NAME
community.docker.docker
community.docker.docker_api
ADDITIONAL INFORMATION
The text was updated successfully, but these errors were encountered: