shiftstack / dev-install

13 stars 16 forks source link

Fix osc install when running in a virtualenv #176

Closed gouthampacha closed 2 years ago

gouthampacha commented 2 years ago

"--user" shouldn't be specified when installing pip packages install a python virtualenv. Setting it causes the following error:

TASK [Install openstack client locally] **** fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (pip) module: when. Supported parameters include: virtualenv_site_packages, editable, executable, virtualenv, name, extra_args, virtualenv_command, virtualenv_python, state, umask, chdir, requirements, version."}

gouthampacha commented 2 years ago

ptal @EmilienM @mdbooth

EmilienM commented 2 years ago

thanks @gouthampacha !