mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
In django module if no virtualenv is specified, don't choke
This commit is contained in:
parent
1e5d5fc263
commit
b5ad1ce768
1 changed files with 3 additions and 0 deletions
|
@ -109,7 +109,10 @@ def _fail(module, cmd, out, err, **kwargs):
|
|||
|
||||
|
||||
def _ensure_virtualenv(module):
|
||||
|
||||
venv_param = module.params['virtualenv']
|
||||
if venv_param is None:
|
||||
return
|
||||
|
||||
virtualenv = module.get_bin_path('virtualenv', True)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue