This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
lilik_playbook
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix media folder permission
python3
Andrea Cimbalo
7 years ago
parent
b05aa6030d
commit
9bd46bdd36
3 changed files
with
14 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
media.yaml
+4
-2
roles/nginx/tasks/main.yaml
+9
-0
roles/webdav/tasks/main.yaml
+ 1
- 1
media.yaml
View File
@ -1,4 +1,4 @@
-
hosts
:
biff
-
hosts
:
emmett
roles:
-
role
:
lxc_guest
vm_name
:
media
+ 4
- 2
roles/nginx/tasks/main.yaml
View File
@ -36,12 +36,14 @@
-
name
:
create nginx location configuration directory
file:
path
:
'
/etc/nginx/locations/{{ server_fqdn }}/
'
path
:
'
{{ item }}
'
state
:
directory
mode
:
0755
owner
:
www-data
group
:
www-data
recurse
:
yes
with_items:
-
/etc/nginx/locations/
-
'/etc/nginx/locations/{{ server_fqdn }}/'
-
name
:
upload nginx configuration
template:
+ 9
- 0
roles/webdav/tasks/main.yaml
View File
@ -1,3 +1,12 @@
-
name
:
install utilities
apt:
name
:
"{{ item }}"
state
:
present
update_cache
:
yes
cache_valid_time
:
3600
with_items:
-
apache2-utils
-
name
:
create directories to serve
file:
path
:
'{{ server_path }}/{{ item }}'
Write
Preview
Loading…
Cancel
Save