From: Alfredo Deza Date: Tue, 16 Apr 2019 14:50:26 +0000 (-0400) Subject: util: use new location for needs_ssh X-Git-Tag: v2.1.0~21^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8a1ccf08c8f746f615981b6d81a2787a559a8953;p=ceph-deploy.git util: use new location for needs_ssh Signed-off-by: Alfredo Deza Resolves: rm#39322 --- diff --git a/ceph_deploy/util/ssh.py b/ceph_deploy/util/ssh.py index 2aaa5e1..7c48d9c 100644 --- a/ceph_deploy/util/ssh.py +++ b/ceph_deploy/util/ssh.py @@ -12,7 +12,7 @@ def can_connect_passwordless(hostname): denied`` message or a``Host key verification failed`` message. """ # Ensure we are not doing this for local hosts - if not remoto.connection.needs_ssh(hostname): + if not remoto.backends.needs_ssh(hostname): return True logger = logging.getLogger(hostname)