blob: 4575308f8f62ded62b4d29374dd1622d5d232208 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
- import_role:
name: jail
tasks_from: jail_setup
- name: Set syncthing user UID to 1001
shell: pw usermod syncthing -u 1001 -g 1001 || true
changed_when: false
- name: Set syncthing group GID to 1001
shell: pw groupmod syncthing -g 1001 || true
changed_when: false
- name: Fix syncthing config ownership
file:
path: /usr/local/etc/syncthing
state: directory
owner: syncthing
group: syncthing
recurse: true
- import_role:
name: jail
tasks_from: jail_launch
|