From 528e7859d0cc5f9cd8ecdeb9f830789dd895173b Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 18 Jul 2023 11:19:27 -0400 Subject: [PATCH] smart connection deprecation version fix (#81262) --- lib/ansible/utils/ssh_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/utils/ssh_functions.py b/lib/ansible/utils/ssh_functions.py index 038e717201e..594dbc0e7a1 100644 --- a/lib/ansible/utils/ssh_functions.py +++ b/lib/ansible/utils/ssh_functions.py @@ -58,7 +58,7 @@ def set_default_transport(): # deal with 'smart' connection .. one time .. if C.DEFAULT_TRANSPORT == 'smart': - display.deprecated("The 'smart' option for connections is deprecated. Set the connection plugin directly instead.", version=2.19) + display.deprecated("The 'smart' option for connections is deprecated. Set the connection plugin directly instead.", version='2.20') # see if SSH can support ControlPersist if not use paramiko if not check_for_controlpersist('ssh') and paramiko is not None: