Allow Syncthing have access.
This commit is contained in:
parent
f0e6aaa32e
commit
85b0cea294
@ -22,6 +22,13 @@
|
||||
groups: xppl
|
||||
append: true
|
||||
|
||||
- name: Add the Syncthing user to the XPPL group.
|
||||
become: true
|
||||
user:
|
||||
name: syncthing
|
||||
groups: xppl
|
||||
append: true
|
||||
|
||||
- name: Ensure the XPPL root directory is created.
|
||||
become: true
|
||||
file:
|
||||
@ -30,3 +37,12 @@
|
||||
owner: xppl
|
||||
group: xppl
|
||||
mode: 0755
|
||||
|
||||
- name: Ensure the XPPL uploads directory is created.
|
||||
become: true
|
||||
file:
|
||||
path: /var/xppl/xppl/uploads
|
||||
state: directory
|
||||
owner: xppl
|
||||
group: xppl
|
||||
mode: 0775
|
||||
|
Loading…
Reference in New Issue
Block a user