From d682412e2aa5eeb411cc0dff9a3ffef4b4aa8683 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Mon, 9 Dec 2019 17:10:11 +0100 Subject: [PATCH] ansible.cfg: do not enforce PreferredAuthentications There's no need to enforce PreferredAuthentications by default. Users can still choose to override the ansible.cfg with any additional parameter like this one to fit their infrastructure. Fixes: #4826 Signed-off-by: Guillaume Abrioux --- ansible.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible.cfg b/ansible.cfg index 356b0b577..b135b48fb 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -32,7 +32,7 @@ timeout = 60 [ssh_connection] # see: https://github.com/ansible/ansible/issues/11536 control_path = %(directory)s/%%h-%%r-%%p -ssh_args = -o ControlMaster=auto -o ControlPersist=600s -o PreferredAuthentications=publickey +ssh_args = -o ControlMaster=auto -o ControlPersist=600s pipelining = True # Option to retry failed ssh executions if the failure is encountered in ssh itself