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

#5 Try rsync via Ansible host to avoid permission issues

parent 4dfd4ff3
No related branches found
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 }}/' '{{ item }}'
delegate_to: "{{ inventory_hostname }}"
shell: rsync -rulp '{{ proxy_active_host }}:{{ item }}/' '{{ inventory_hostname }}:{{ item }}'
delegate_to: localhost
become: no
with_items:
- '/etc/letsencrypt'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment