community.general/lib/ansible
martin f. krafft 1cf43e9afe Only allocate a PTY when sudo is used
Postpone the paramiko.Channel.get_pty until we know sudo is used. If
sudo is not used, then we do not need a PTY. In fact, the paramiko docs
explicitly state that it's not desirable to allocate a PTY for a simple
exec_command.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2013-02-15 10:17:43 +13:00
..
callback_plugins Move default arguments to the end of the function call. 2013-01-19 08:34:47 +08:00
inventory Fix group depth for nested groups 2013-02-09 22:52:35 -05:00
playbook Clean up some extra_vars redundancy 2013-02-11 23:25:50 +01:00
runner Only allocate a PTY when sudo is used 2013-02-15 10:17:43 +13:00
utils Allow using other users' home directories as well 2013-02-11 23:43:30 +01:00
__init__.py Fix up some version related things on the devel branch. 2013-02-01 21:38:21 -05:00
callbacks.py Move diff code more into runner code. 2013-02-09 23:24:03 -05:00
color.py Added a ANSIBLE_FORCE_COLOR env var, which forces the color output no matter what ncurses says. 2012-10-06 20:36:07 +02:00
constants.py Add sudo_flags configuration option to alter sudo behaviour 2013-01-28 17:41:43 +01:00
errors.py Add 'polite' YAML syntax validation and hinting. Closes #798 2012-08-07 18:24:47 -04:00
module_common.py Removing duplicate import, adding missing import 2013-02-10 18:31:55 -05:00