mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
default chdir to tmpdir to avoid virtualenv issues
This commit is contained in:
@@ -258,6 +258,9 @@ def main():
|
||||
if state == 'latest' and version is not None:
|
||||
module.fail_json(msg='version is incompatible with state=latest')
|
||||
|
||||
if chdir is None:
|
||||
chdir = tempfile.gettempdir()
|
||||
|
||||
err = ''
|
||||
out = ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user