ansible/lib/ansible/module_utils
Bob Weinand f200487414
Fix filedescriptor out of range in select() when running commands (#65058)
* Fix filedescriptor out of range in select() when running commands

* Simplify the run_command() code

Now that we're using selectors in run_command(), we can simplify some of
the code.

* Use fileobj.read() instead of os.read()
* No longer use get_buffer_size() as we can just slurp all of the data
  instead.

Also use a simpler conditional check of whether the selector map is
empty

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
2020-05-14 11:46:34 -04:00
..
common Bring back more objects that were exposes in _text (#69090) 2020-04-24 04:56:59 +10:00
compat Fix filedescriptor out of range in select() when running commands (#65058) 2020-05-14 11:46:34 -04:00
csharp Migrated to ansible.windows 2020-03-23 11:14:21 -05:00
distro distribution: ignore plesk-release file while parsing (#64665) 2019-11-18 15:05:23 -05:00
facts Distribution: Add PopOS as Debian OS_FAMILY (#69294) 2020-05-05 11:43:28 -05:00
parsing
powershell WebRequest - Fix use_proxy: no on module options (#68603) 2020-04-02 07:17:50 +10:00
six
__init__.py
_text.py Bring back more objects that were exposes in _text (#69090) 2020-04-24 04:56:59 +10:00
ansible_release.py
api.py
basic.py Fix filedescriptor out of range in select() when running commands (#65058) 2020-05-14 11:46:34 -04:00
connection.py add note on write access to socket_path (#67060) 2020-02-11 09:49:20 -06:00
json_utils.py
pycompat24.py
service.py
splitter.py
urls.py get_url pass incorrect If-Modified-Since header(#67417) (#67419) 2020-04-10 12:17:55 -05:00
yumdnf.py