summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorjctanner <tanner.jc@gmail.com>2017-11-22 11:19:43 -0500
committerGitHub <noreply@github.com>2017-11-22 11:19:43 -0500
commit218987eac1eb9a5671f996d2887dcca349199e51 (patch)
treef176d52fccdb7f3dfa03ebaf5b1662134c38382f /examples
parentaa42a2680eaedd40f70b82269677d0bfdf8120d6 (diff)
downloadansible-218987eac1eb9a5671f996d2887dcca349199e51.tar.gz
ANSIBLE_SSH_USETTY configuration option (#33148)
* Allow the user to circumvent adding -tt on ssh commands to help aid in debugging ssh related problems. * Move config to the plugin * Set version_added * Change yaml section to "connection" * Fix ssh unit tests
Diffstat (limited to 'examples')
-rw-r--r--examples/ansible.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg
index e1203999df..10983b4dc7 100644
--- a/examples/ansible.cfg
+++ b/examples/ansible.cfg
@@ -401,6 +401,10 @@
# only be disabled if your sftp version has problems with batch mode
#sftp_batch_mode = False
+# The -tt argument is passed to ssh when pipelining is not enabled because sudo
+# requires a tty by default.
+#use_tty = True
+
[persistent_connection]
# Configures the persistent connection timeout value in seconds. This value is