Skip to content
Snippets Groups Projects
Commit 8cde3db5 authored by jurgenhaas's avatar jurgenhaas
Browse files

#36 Set permissions of web server files

parent 7ad41e55
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment