From d68babb2e10176a274e0d0cbce5c31a6f65c56f9 Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Fri, 17 Oct 2025 16:51:29 +0800 Subject: [PATCH] fix: Using winrm protocol to transfer files did not create a directory problem --- apps/ops/ansible/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ops/ansible/runner.py b/apps/ops/ansible/runner.py index df0c338fd..53c71b82e 100644 --- a/apps/ops/ansible/runner.py +++ b/apps/ops/ansible/runner.py @@ -152,7 +152,7 @@ class UploadFileRunner: host_pattern="*", inventory=self.inventory, module='copy', - module_args=f"src={self.src_paths}/ dest={self.dest_path}", + module_args=f"src={self.src_paths}/ dest={self.dest_path}/", verbosity=verbosity, event_handler=self.cb.event_handler, status_handler=self.cb.status_handler,