added comment explaining chdir defaults

reviewable/pr18780/r1
Brian Coca 9 years ago
parent a639da7c44
commit 22bfb54d9d

@ -259,6 +259,7 @@ def main():
module.fail_json(msg='version is incompatible with state=latest') module.fail_json(msg='version is incompatible with state=latest')
if chdir is None: if chdir is None:
# this is done to avoid permissions issues with privilege escalation and virtualenvs
chdir = tempfile.gettempdir() chdir = tempfile.gettempdir()
err = '' err = ''

Loading…
Cancel
Save