Added paperless consume to sambashare

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-10-08 14:57:32 +02:00
parent 3f88065da4
commit 320c7cdd7a
4 changed files with 45 additions and 217 deletions

View File

@@ -20,10 +20,13 @@
- name: Change permission on share
file:
path: "{{ samba.media_dir }}"
path: "{{ item }}"
group: "{{ samba.group }}"
mode: "2770"
become: true
loop:
- "{{ samba.shares.media.path }}"
- "{{ samba.shares.paperless.path }}"
- name: Add user "{{ samba.user }}"
user: