mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 19:32:47 +00:00
added comment explaining chdir defaults
This commit is contained in:
@@ -259,6 +259,7 @@ def main():
|
||||
module.fail_json(msg='version is incompatible with state=latest')
|
||||
|
||||
if chdir is None:
|
||||
# this is done to avoid permissions issues with privilege escalation and virtualenvs
|
||||
chdir = tempfile.gettempdir()
|
||||
|
||||
err = ''
|
||||
|
||||
Reference in New Issue
Block a user