Skip to content
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

Make sure run_command properly combines envs #3104

Merged

Conversation

tadeboro
Copy link
Contributor

@tadeboro tadeboro commented May 9, 2021

Because the dictionary's update method updates data in place and does not return anything, the run_command method executed baked commands with env overrides with an empty env. This commit makes sure environments are properly combined.

PR Type

  • Bugfix Pull Request

Because dictionary's update method updates data in place and does not
return anything back, the run_command method executed baked commands
with env overrides with an empty env. This commit makes sure
environments are properly combined.
@tadeboro tadeboro force-pushed the fix-util-run-command-env-handling branch from c2b82b7 to 0afc08f Compare May 9, 2021 12:27
@ssbarnea ssbarnea added the bug label May 14, 2021
@ssbarnea ssbarnea merged commit 2347df5 into ansible:master May 14, 2021
@tadeboro tadeboro deleted the fix-util-run-command-env-handling branch May 14, 2021 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants