Hi there, I have a repository that I want to copy over using synchronize but I keep the ansible playbook in a subdirectory, so I set src: .. and to my surprise only the ansible directory gets copied over instead of the entire repository. This behaves exactly the same as src: .. To workaround it, I can use src: ../.. but that's technically incorrect. Another workaround I found is src: "{{ playbook_dir }}/.."
SUMMARY
Hi there, I have a repository that I want to copy over using
synchronize
but I keep the ansible playbook in a subdirectory, so I setsrc: ..
and to my surprise only the ansible directory gets copied over instead of the entire repository. This behaves exactly the same assrc: .
. To workaround it, I can usesrc: ../..
but that's technically incorrect. Another workaround I found issrc: "{{ playbook_dir }}/.."
ISSUE TYPE
COMPONENT NAME
synchronize
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
macOS Sonoma 14.6
STEPS TO REPRODUCE
EXPECTED RESULTS
With
src: ..
I would expect the parent directory to be copied overACTUAL RESULTS
both
src: .
andsrc: ..
evaluate to the ansible directory