From 4dd524a5f2728b49cef9bf24b7d366087ce737f9 Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Tue, 18 Nov 2025 21:45:43 -0500 Subject: [PATCH] Added RSyncD configuration file --- roles/bootstrap/templates/rsyncd.conf.j2 | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 roles/bootstrap/templates/rsyncd.conf.j2 diff --git a/roles/bootstrap/templates/rsyncd.conf.j2 b/roles/bootstrap/templates/rsyncd.conf.j2 new file mode 100644 index 0000000..9b7a60b --- /dev/null +++ b/roles/bootstrap/templates/rsyncd.conf.j2 @@ -0,0 +1,41 @@ +port = 873 +use chroot = true +max connections = 17 +ignore nonreadable = true +pid file = /var/run/rsyncd.pid + +[{{ ansible_facts['user_id'] }}-dl] +path = {{ ansible_facts['user_dir'] }}/downloads/public +uid = rika +gid = rika +timeout = 90 +comment = Personal download inventory +read only = true +exclude = .nextcloudsync.log .calnotes .caltrash .stfolder .stignore .directory .ssh *.pub + +[{{ ansible_facts['user_id'] }}-public] +path = {{ ansible_facts['user_dir'] }}/public/rsync +uid = rika +gid = rika +timeout = 90 +comment = Public share point +read only = true +exclude = .nextcloudsync.log .calnotes .caltrash .stfolder .stignore .directory .ssh *.pub + +[{{ ansible_facts['user_id'] }}-soulseek] +path = {{ ansible_facts['user_dir'] }}/public/soulseek +uid = rika +gid = rika +timeout = 90 +comment = Personal SoulSeek inventory +read only = true +exclude = .nextcloudsync.log .calnotes .caltrash .stfolder .stignore .directory .ssh *.pub + +[{{ ansible_facts['user_id'] }}-portfolio] +path = {{ ansible_facts['user_dir'] }}/portfolio +uid = rika +gid = rika +timeout = 90 +comment = Personal portfolio +read only = true +exclude = .nextcloudsync.log .calnotes .caltrash .stfolder .stignore .directory .ssh *.pub \ No newline at end of file