Hello,

I have a question concerning the handling of symlinks with the
synchronize module:

What exactly is the difference between the "link" and "copy_link"
options, and how are they intended to be used? The docs say

---
copy_links: Copy symlinks as the item that they point to (the referent)
is copied, rather than the symlink.

links: Copy symlinks as symlinks.
---

This looks rather redundant to me (plus I do not really understand what
the "is copied" part for copy_links should mean).

I have a symlink on the source side that I want to see copied as file.
Setting "links" to "no" does not yield the desired behaviour. I
get a symlink on the destination side.
Setting "copy_links" to "yes" does the trick (but I'd rather expect it
to do the opposite, i.e., COPY the LINK ?!).

This is probably all working as designed, but I can't say I
understand...


cu
  Gerrit

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/20200917125446.50cc39bc%40comet2.terra.ger.

Reply via email to