mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-20 20:00:23 -07:00
win_copy: allow src to have invalid windows chars (#31392)
* win_copy: allow src to have invalid windows chars * create file with colon instead of avoid checkout errors
This commit is contained in:
parent
14b9a6b350
commit
c4b51009f0
5 changed files with 37 additions and 4 deletions
|
@ -473,6 +473,8 @@ class ActionModule(ActionBase):
|
|||
symlinks=source_files['symlinks']
|
||||
)
|
||||
)
|
||||
# src is not required for query, will fail path validation is src has unix allowed chars
|
||||
query_args.pop('src', None)
|
||||
|
||||
query_args.pop('content', None)
|
||||
query_return = self._execute_module(module_args=query_args, task_vars=task_vars)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue