88bee34235
* rename role ffmwu-build -> firmware-build-server * rename playbook build-server to firmware-build-server
23 lines
444 B
YAML
23 lines
444 B
YAML
---
|
|
- 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
|