Skip to content
Snippets Groups Projects
Commit 1bd88235 authored by Remy Mudingay's avatar Remy Mudingay :speech_balloon:
Browse files

Creates host directory

parent 12315405
No related branches found
No related tags found
No related merge requests found
Pipeline #
---
# defaults file for rsync-server
root: /icslab/rsync
rsync_server_timeout: 300
rsync_server_max_connections: 10
rsync_server_shares:
- name: cataniapc1
path: /icslab/rsync/cataniapc1
path: "{{ root }}/cataniapc1"
readonly: no
- name: cataniapc2
path: /icslab/rsync/cataniapc2
path: "{{ root }}/cataniapc2"
readonly: no
rsync_server_logrotate_interval: weekly
rsync_server_logrotate_backlog_size: 52
......@@ -13,6 +13,16 @@
path: /var/log/rsyncd
state: directory
- name: create share path
become: yes
file:
path: "{{ item.path }}"
state: directory
owner: nobody
mode: 0775
with_items:
- "{{ rsync_server_shares }}"
- name: rsyncd | configure shares
become: yes
template:
......
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