default chdir to tmpdir to avoid virtualenv issues

reviewable/pr18780/r1
Brian Coca 9 years ago
parent 8c353d0516
commit a639da7c44

@ -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 = ''

Loading…
Cancel
Save