[Bug] [zos_copy] Omitting a traling '/' on a source directory does not copy the directory itself #496
Labels
Bug
Something isn't working as designed.
In Plan
Issue has been accepted put into a planned release
In Progress
This issue is under review by a team member.
Milestone
Bug description
When copying a source directory to another directory, if omitting a trailing '/' on its path, the directory does not get copied into
dest
, just the contents of it. The built-incopy
module behaves differently depending on how thesrc
path is specified (documentation here):This issue is to align the behavior present in
zos_copy
with what the built-in module does.Playbook verbosity output
No response
Contents of
ansible.cfg
No response
Contents of the inventory
No response
Contents of
group_vars
orhost_vars
No response
Ansible version
IBM z/OS Ansible core Version
v1.3.6
IBM ZOAU version
v1.2.0
z/OS version
2.3
Ansible module
zos_copy
The text was updated successfully, but these errors were encountered: