Skip to content
Snippets Groups Projects
Commit 05b6d41f authored by jurgenhaas's avatar jurgenhaas
Browse files

Revert latest change as with rsync not both hosts can be remote

parent d6ae0c42
Branches
No related tags found
No related merge requests found
......@@ -16,8 +16,8 @@
- '/etc/haproxy/certs'
- name: "Sync files"
shell: rsync -rulp '{{ proxy_active_host }}:{{ item }}/' '{{ inventory_hostname }}:{{ item }}'
delegate_to: localhost
shell: rsync -rulp '{{ proxy_active_host }}:{{ item }}/' '{{ item }}'
delegate_to: '{{ inventory_hostname }}'
become: no
with_items:
- '/etc/letsencrypt'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment