From 3c35c760de1975602b874523e54683a8b17a40a5 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Tue, 13 Dec 2016 09:35:38 +0100
Subject: [PATCH] Fix the sync command to preserve symbolic links

---
 tasks/pullcerts.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tasks/pullcerts.yml b/tasks/pullcerts.yml
index baee9a4..7750183 100644
--- a/tasks/pullcerts.yml
+++ b/tasks/pullcerts.yml
@@ -16,7 +16,7 @@
     - '/etc/haproxy/certs'
 
 - name: "Sync files"
-  shell: rsync -r '{{ proxy_active_host }}:{{ item }}/' '{{ item }}'
+  shell: rsync -rulp '{{ proxy_active_host }}:{{ item }}/' '{{ item }}'
   delegate_to: "{{ inventory_hostname }}"
   become: no
   with_items:
-- 
GitLab