ansible-ffibk/roles/firmware-build-server/tasks/rsyncd.yml

24 lines
444 B
YAML
Raw Permalink Normal View History

---
- name: install rsnycd configuration file
template:
src: rsyncd.conf.j2
dest: /etc/rsyncd.conf
mode: 0640
owner: root
group: root
- name: install rsnyc systemd unit
template:
src: rsync.service.j2
dest: /etc/systemd/system/
mode: 0644
owner: root
group: root
notify: reload systemd
- name: ensure rsync is started and activated
systemd:
name: rsync
state: started
enabled: True