summaryrefslogtreecommitdiff
path: root/changelogs/fragments/76372-fix-pip-virtualenv-command-parsing.yml
diff options
context:
space:
mode:
authorDmitriy Rabotyagov <noonedeadpunk@ya.ru>2023-05-02 09:52:11 +0200
committerGitHub <noreply@github.com>2023-05-02 09:52:11 +0200
commit7f48fa01295e85f94437041688fb898e870c5154 (patch)
tree86ab5a4f3789cf4f3be2eec8cf3a7a8268dce423 /changelogs/fragments/76372-fix-pip-virtualenv-command-parsing.yml
parent251360314d0b385322d36001f3deb9820c3febc8 (diff)
downloadansible-7f48fa01295e85f94437041688fb898e870c5154.tar.gz
Better parse virtualenv_command option for pip (#80624)
Atthe moment if a users wants to protect virtualenv_command by using quotes around 'venv', module will fail out as literal parsing is used at the moment. In order to imrpove things, argparse is leveraged to parse out passed value to the virtualenv_command Closes-Bug: #76372 Signed-off-by: Dmitriy Rabotyagov <noonedeadpunk@gmail.com>
Diffstat (limited to 'changelogs/fragments/76372-fix-pip-virtualenv-command-parsing.yml')
-rw-r--r--changelogs/fragments/76372-fix-pip-virtualenv-command-parsing.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/changelogs/fragments/76372-fix-pip-virtualenv-command-parsing.yml b/changelogs/fragments/76372-fix-pip-virtualenv-command-parsing.yml
new file mode 100644
index 0000000000..96cd8b646a
--- /dev/null
+++ b/changelogs/fragments/76372-fix-pip-virtualenv-command-parsing.yml
@@ -0,0 +1,6 @@
+---
+bugfixes:
+ - >-
+ Fixed `pip` module failure in case of usage quotes for
+ `virtualenv_command` option for the venv command.
+ (https://github.com/ansible/ansible/issues/76372)