Commit 8cde3db5 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

#36 Set permissions of web server files

parent 7ad41e55
......@@ -98,6 +98,20 @@
line: ' killproc -p ${PIDFILE} $DAEMON_PATH/$DAEMON && sleep 3'
when: ansible_lsb.major_release == '12'
- name: Set Permissions for web server files
file:
path: '{{ item }}'
owner: netdata
group: netdata
recurse: yes
follow: no
with_items:
- /var/lib/netdata/www/
- /usr/share/netdata/www/
- /var/lib/netdata/web/
- /usr/share/netdata/web/
ignore_errors: yes
- name: Check if KSM is available
stat:
path: /sys/kernel/mm/ksm
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment