Skip to content
Snippets Groups Projects
Commit 6837c67e authored by jurgenhaas's avatar jurgenhaas
Browse files

#3 The two files can belong to root instead of netdata

parent 6b3a493d
No related branches found
No related tags found
No related merge requests found
...@@ -9,11 +9,6 @@ ...@@ -9,11 +9,6 @@
- name: "Include NetData to Boot-List" - name: "Include NetData to Boot-List"
command: update-rc.d netdata defaults command: update-rc.d netdata defaults
- name: "Start NetData"
service:
name='netdata'
state='started'
- name: "Re-start NetData" - name: "Re-start NetData"
service: service:
name='netdata' name='netdata'
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
mode=755 mode=755
notify: notify:
- "Include NetData to Boot-List" - "Include NetData to Boot-List"
- "Start NetData" - "Re-start NetData"
- name: "Install logrotate script" - name: "Install logrotate script"
template: template:
...@@ -79,8 +79,8 @@ ...@@ -79,8 +79,8 @@
template: template:
src='python.d.conf' src='python.d.conf'
dest='/etc/netdata/python.d.conf' dest='/etc/netdata/python.d.conf'
owner='netdata' owner='root'
group='netdata' group='root'
mode=644 mode=644
notify: notify:
- "Re-start NetData" - "Re-start NetData"
...@@ -89,8 +89,8 @@ ...@@ -89,8 +89,8 @@
template: template:
src='{{ item }}.conf' src='{{ item }}.conf'
dest='/etc/netdata/python.d/{{ item }}.conf' dest='/etc/netdata/python.d/{{ item }}.conf'
owner='netdata' owner='root'
group='netdata' group='root'
mode=644 mode=644
with_items: with_items:
- 'mysql' - 'mysql'
......
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