ansible-ffibk/roles/ffmwu-build/tasks/rsyncd.yml
Tobias Hachmer 6127353ae7 Update ansible role ffmwu-build
* use ecdsautils from ffmwu debian repo instead of building from source
 * remove some trailing white spaces
 * use command module instead of shell module where it is possible
 * update module syntax to list form for better reading
 * role ffmwu-build should be idempotent now
2016-11-26 14:17:14 +01:00

22 lines
392 B
YAML

---
- name: install rsnycd configuration file
copy:
src: rsyncd.conf
dest: /etc/rsyncd.conf
mode: 0640
become: true
- name: install rsnyc systemd unit
copy:
src: rsync.service
dest: /etc/systemd/system/
mode: 0644
become: true
- name: ensure rsync is started on boot as a daemon
systemd:
name: rsync
state: started
enabled: True
become: true