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

Fix cmd args with no-free-form transformer #4215

Merged
merged 5 commits into from
Jun 14, 2024

Conversation

Qalthos
Copy link
Contributor

@Qalthos Qalthos commented Jun 7, 2024

There was a specific callout for using msg with debug, but all other inline module args would generate a cmd arg even if nothing went into it. This generalizes the approach (though it assumes that anything that doesn't fit should go into a cmd arg)

Fixes #4189

@Qalthos Qalthos requested a review from a team as a code owner June 7, 2024 18:14
@Qalthos Qalthos requested review from priyamsahoo and shatakshiiii and removed request for a team June 7, 2024 18:14
@Qalthos Qalthos changed the title Fix no-fre-form transformer to not add unneccessary cmd arguments Fix no-free-form transformer to not add unneccessary cmd arguments Jun 7, 2024
@github-actions github-actions bot added the bug label Jun 7, 2024
@ssbarnea ssbarnea changed the title Fix no-free-form transformer to not add unneccessary cmd arguments Prevent unnecessary add of cmd args with no-free-form transformer Jun 14, 2024
@ssbarnea ssbarnea changed the title Prevent unnecessary add of cmd args with no-free-form transformer Fix cmd args with no-free-form transformer Jun 14, 2024
@ssbarnea ssbarnea enabled auto-merge (squash) June 14, 2024 15:47
@ssbarnea ssbarnea merged commit 2ce81ed into ansible:main Jun 14, 2024
25 checks passed
@Qalthos Qalthos deleted the fix/spurious-cmd branch June 17, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Tasks with attributes formatted as key=value pairs get reformatted incorrectly
2 participants