mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
In django module if no virtualenv is specified, don't choke
This commit is contained in:
@@ -109,7 +109,10 @@ def _fail(module, cmd, out, err, **kwargs):
|
|||||||
|
|
||||||
|
|
||||||
def _ensure_virtualenv(module):
|
def _ensure_virtualenv(module):
|
||||||
|
|
||||||
venv_param = module.params['virtualenv']
|
venv_param = module.params['virtualenv']
|
||||||
|
if venv_param is None:
|
||||||
|
return
|
||||||
|
|
||||||
virtualenv = module.get_bin_path('virtualenv', True)
|
virtualenv = module.get_bin_path('virtualenv', True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user