From d6ae0c425e12e0db9b4872e2a3dc2636a5404d12 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Wed, 14 Mar 2018 14:37:17 +0100 Subject: [PATCH] #5 Try rsync via Ansible host to avoid permission issues --- tasks/pullcerts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/pullcerts.yml b/tasks/pullcerts.yml index 4ec71da..db3a871 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' -- GitLab