ansible/lib/ansible
Jonathan Oddy f2dccb90e8 Restore SIGPIPE handler to DFL on POpen
Python sets the SIGPIPE handler to SIG_IGN. On execv() signal handlers are
reset to their defaults, EXCEPT those that are SIG_IGN which are left ignored.
In Python 3 subprocess.popen explicitly resets the SIGPIPE handler to SIG_DFL,
but unfortunately in Python 2.7 it does not. This leads to subprocesses being
executed with SIGPIPE ignored. This is often a problem with bash scripts which
rely on SIGPIPE to terminate commands in a pipe, but can easily be a problem
with other applications.

This implements the Python 3 behaviour for Python 2.7 by using a preexec_fn.
2018-10-12 12:31:24 -07:00
..
cli Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
compat Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
config Add configuration to override location of ansible-connection (#46128) 2018-10-01 14:29:59 -04:00
errors Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
executor Reduce noise in warnings from ansible (#40754) 2018-10-09 18:53:03 -04:00
galaxy Link to the Galaxy platforms list from the meta file template (#34046) 2018-09-17 13:39:54 -05:00
inventory better information for user from inventory plugins (#46766) 2018-10-12 11:27:29 -04:00
module_utils Restore SIGPIPE handler to DFL on POpen 2018-10-12 12:31:24 -07:00
modules update cyberark metadata to certified (#46978) 2018-10-12 13:54:48 -05:00
parsing add note to inform awx team on change 2018-10-11 12:45:53 -04:00
playbook Do not use mutable defaults in FieldAttribute, instead allow supplying a callable for defaults of mutable types. Fixes #46824 (#46833) 2018-10-12 10:43:09 -05:00
plugins better information for user from inventory plugins (#46766) 2018-10-12 11:27:29 -04:00
template Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
utils Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
vars Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
__init__.py
constants.py cisco firepower : Make API endpoints configurable via hostvars (#44952) 2018-08-31 18:38:16 +05:30
release.py Codename: How Many More Times 2018-09-04 12:38:29 -04:00