|
@@ -8,12 +8,12 @@
|
8
|
8
|
- name: Create encrypted directory
|
9
|
9
|
file: state=directory path=/encrypted
|
10
|
10
|
|
11
|
|
-- name: Create decrypted directory
|
12
|
|
- file: state=directory path=/decrypted
|
13
|
|
-
|
14
|
11
|
- name: Add mail user to fuse group
|
15
|
12
|
user: name=mail append=yes groups=fuse
|
16
|
13
|
|
|
14
|
+- name: Add main user to fuse group
|
|
15
|
+ user: name={{ main_user_name }} append=yes groups=fuse
|
|
16
|
+
|
17
|
17
|
# Check if the /encrypted directory is empty
|
18
|
18
|
- name: Check for existing encfs
|
19
|
19
|
shell: ls /encrypted/*
|