8000 Make sure run_command properly combines envs by tadeboro · Pull Request #3104 · ansible/molecule · GitHub
[go: up one dir, main page]

Skip to content

Make sure run_command properly combines envs - #3104

Merged
ssbarnea merged 1 commit into
ansible:masterfrom
xlab-steampunk:fix-util-run-command-env-handling
May 14, 2021
Merged

ssbarnea merged 1 commit into
ansible:masterfrom
xlab-steampunk:fix-util-run-command-env-handling

Conversation

@tadeboro
@tadeboro tadeboro commented May 9, 2021
Copy link
Copy Markdown
Contributor

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.

2 participants

0