diff --git a/tasks/pullcerts.yml b/tasks/pullcerts.yml
index 4ec71da1ba960eb5f064fd7192b8fbfac8ddf5e1..db3a871ed2a20227965eac637c5a81a1596551f3 100644
--- a/tasks/pullcerts.yml
+++ b/tasks/pullcerts.yml
@@ -16,8 +16,8 @@
     - '/etc/haproxy/certs'
 
 - name: "Sync files"
-  shell: rsync -rulp '{{ proxy_active_host }}:{{ item }}/' '{{ item }}'
-  delegate_to: "{{ inventory_hostname }}"
+  shell: rsync -rulp '{{ proxy_active_host }}:{{ item }}/' '{{ inventory_hostname }}:{{ item }}'
+  delegate_to: localhost
   become: no
   with_items:
     - '/etc/letsencrypt'