ansible/roles/rsync/client/tasks/main.yml

25 lines
440 B
YAML

---
- name: install rsync packages
package:
name: "{{ item }}"
state: installed
with_items:
- rsync
- stunnel
- name: install rsync stunnel wrapper
template:
dest: /usr/local/libexec/rsync-ssl-tunnel
src: rsync-ssl-tunnel.j2
mode: 0755
owner: root
group: root
- name: install rsync-ssl
copy:
dest: /usr/local/bin/rsync-ssl
src: rsync-ssl
mode: 0755
owner: root
group: root