mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-14 13:42:21 +00:00
* pip: combine chdir and env only when env is set
This fixes an AttributeError when chdir without virtualenv is specified:
File "/tmp/ansible_2UAFsZ/ansible_module_pip.py", line 387, in main
env = os.path.join(chdir, env)
File "/usr/lib64/python2.7/posixpath.py", line 75, in join
if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'
* Add test for pip with chdir
Signed-off-by: Till Maas <opensource@till.name>
|
||
|---|---|---|
| .. | ||
| host_vars | ||
| targets | ||
| cloud-config-aws.yml.template | ||
| cloud-config-azure.yml.template | ||
| cloud-config-cs.ini.template | ||
| cloud-config-gcp.yml.template | ||
| cloud-config-opennebula.yml.template | ||
| cloud-config-openshift.kubeconfig.template | ||
| cloud-config-tower.cfg.template | ||
| integration.cfg | ||
| integration_config.yml | ||
| inventory | ||
| inventory.networking.template | ||
| inventory.remote.template | ||
| inventory.winrm.template | ||
| network-integration.cfg | ||
| target-prefixes.network | ||
| windows-integration.cfg | ||