-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsambafiles.yml
47 lines (35 loc) · 869 Bytes
/
sambafiles.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
- name: Samba /storage folder
hosts: raspberrypis
become: true
tasks:
- name: Allow guest access to samba share
file:
path: /storage
state: directory
owner: nobody
group: nogroup
mode: 0777
- name: create /storage/public folder
file:
path: /storage/public
state: directory
owner: nobody
group: nogroup
mode: 0777
- name: create /storage/docker directory
file:
path: /storage/docker
state: directory
owner: nobody
group: nogroup
mode: 0777
- name: Copy files
copy:
src: files/
dest: /storage/docker
owner: nobody
group: nogroup
mode: 0777
- name: Permissions for nodered docker image
shell: chmod -R 777 /storage/docker/nodered