Allow Syncthing have access.

This commit is contained in:
Luke Murphy 2018-11-18 19:23:50 +01:00
parent f0e6aaa32e
commit 85b0cea294
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -22,6 +22,13 @@
groups: xppl groups: xppl
append: true 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. - name: Ensure the XPPL root directory is created.
become: true become: true
file: file:
@ -30,3 +37,12 @@
owner: xppl owner: xppl
group: xppl group: xppl
mode: 0755 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