Added ANSIBLE_SSH_PIPELINING option to enable/disable pipelining support

Pipelining will be disabled by default, since it requires users remove
the 'requiretty' option from the servers sudoers configuration.
This commit is contained in:
James Cammarata 2014-01-16 12:40:28 -06:00
commit 02ce5af6df
3 changed files with 14 additions and 2 deletions

View file

@ -131,6 +131,16 @@ filter_plugins = /usr/share/ansible_plugins/filter_plugins
# control_path = %(directory)s/%%h-%%r
#control_path = %(directory)s/ansible-ssh-%%h-%%p-%%r
# Enabling pipelining reduces the number of SSH operations required to
# execute a module on the remote server. This can result in a significant
# performance improvement when enabled, however when using "sudo:" you must
# first disable 'requiretty' in /etc/sudoers
#
# By default, this option is disabled to preserve compatibility with
# sudoers configurations that have requiretty (the default on many distros).
#
#pipelining = False
# if True, make ansible use scp if the connection type is ssh
# (default is sftp)
#scp_if_ssh = True