Merge "Ansible launcher: copy symlinks in publishers"
diff --git a/zuul/launcher/ansiblelaunchserver.py b/zuul/launcher/ansiblelaunchserver.py
index 6140c90..14bf5a6 100644
--- a/zuul/launcher/ansiblelaunchserver.py
+++ b/zuul/launcher/ansiblelaunchserver.py
@@ -617,6 +617,7 @@
             os.chmod(scproot, 0o755)
             syncargs = dict(src=src,
                             dest=scproot,
+                            copy_links='yes',
                             mode='pull')
             if rsync_opts:
                 syncargs['rsync_opts'] = rsync_opts
@@ -673,7 +674,8 @@
         rsync_opts = self._getRsyncOptions(ftp['source'],
                                            parameters)
         syncargs = dict(src=src,
-                        dest=ftpcontent)
+                        dest=ftpcontent,
+                        copy_links='yes')
         if rsync_opts:
             syncargs['rsync_opts'] = rsync_opts
         task = dict(synchronize=syncargs,