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

Use a regexp to filter out arguments instead #1173

Merged
merged 1 commit into from
Oct 1, 2012

Conversation

dhozac
Copy link
Contributor

@dhozac dhozac commented Oct 1, 2012

pipes.quote is a bit overzealous for what we want to do, quoting ;
and other characters that you most likely want to use in your shell
invocations. The regexp is the best I could come up with to be able
to only replace the parts of the arguments that shouldn't be
executed.

pipes.quote is a bit overzealous for what we want to do, quoting ;
and other characters that you most likely want to use in your shell
invocations. The regexp is the best I could come up with to be able
to only replace the parts of the arguments that shouldn't be
executed.
@mpdehaan
Copy link
Contributor

mpdehaan commented Oct 1, 2012

I'd really like some way to do this /without/ the regex as they tend to become maintainance problems, but command is weird, so it's probably alright.

Thanks for chasing this!

mpdehaan added a commit that referenced this pull request Oct 1, 2012
Use a regexp to filter out arguments instead
@mpdehaan mpdehaan merged commit ac3ec0a into ansible:devel Oct 1, 2012
@dhozac
Copy link
Contributor Author

dhozac commented Oct 1, 2012

Yeah, I agree, but it is unfortunately one of those cases where you need pattern matching...

@mpdehaan
Copy link
Contributor

mpdehaan commented Oct 1, 2012

yep yep

ryansb pushed a commit that referenced this pull request Dec 30, 2016
#19723)

Fix issue which prevents creating ec2 instance with extra volumes when
using a older version of boto not supporting volume encryption.

Fix issue #1173
@ansible ansible locked and limited conversation to collaborators Apr 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants