synchronize with src: ..
behaves the same as src: .
#558
Labels
synchronize
Issue and PR for synchronize module
src: ..
behaves the same as src: .
#558
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 directoryThe text was updated successfully, but these errors were encountered: