diff --git a/tasks/pullcerts.yml b/tasks/pullcerts.yml
index 8f8b61b576de851fdbe0dfacb7ff7c9d47567e80..1340da0b652411ebd7056405bd25831b97389eaf 100644
--- a/tasks/pullcerts.yml
+++ b/tasks/pullcerts.yml
@@ -18,7 +18,7 @@
     - /etc/haproxy/certs
 
 - name: Sync files
-  shell: rsync -rulp '{{ proxy_active_host }}:{{ item }}/' '{{ item }}'
+  shell: 'rsync -rulp "{{ proxy_active_host }}:{{ item }}/" "{{ item }}"'
   delegate_to: '{{ inventory_hostname }}'
   become: no
   with_items: