From 8ef18c2f9841375c73352f5abc39d499786dd046 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 8 May 2013 08:51:01 -0400 Subject: [PATCH] Don't set PasswordAuthentication=no here because the connection plugin will do that unless a password is actually specified with -k/--ask-pass. --- examples/ansible.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ansible.cfg b/examples/ansible.cfg index c7fefb4fa7..e11f0541f1 100644 --- a/examples/ansible.cfg +++ b/examples/ansible.cfg @@ -145,7 +145,7 @@ filter_plugins = /usr/share/ansible_plugins/filter_plugins # will result in poor performance, so use transport=paramiko on older platforms rather than # removing it -ssh_args=-o PasswordAuthentication=no -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r +ssh_args=-o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r # the following makes ansible use scp if the connection type is ssh (default is sftp)