From 3828e89cf88bc7bb1eaa7e8940694d6429a270cb Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Sat, 14 Sep 2024 14:45:59 +0800 Subject: [PATCH] fix: Windows rdp ping fail --- apps/libs/ansible/modules/rdp_ping.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/libs/ansible/modules/rdp_ping.py b/apps/libs/ansible/modules/rdp_ping.py index bfbac2211..6271fc859 100644 --- a/apps/libs/ansible/modules/rdp_ping.py +++ b/apps/libs/ansible/modules/rdp_ping.py @@ -70,8 +70,8 @@ class RDPConnectionManager: connection_details = { 'hostname': self.params['login_host'], 'port': self.params['login_port'], - 'username': self.params['username'], - 'password': self.params['password'] + 'username': self.params['login_user'], + 'password': self.params['login_password'] } return connection_details