From 6837c67e4b1074e613406c1053cd2487fdacdc3e Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Sun, 4 Sep 2016 15:36:51 +0200 Subject: [PATCH] #3 The two files can belong to root instead of netdata --- handlers/main.yml | 5 ----- tasks/main.yml | 10 +++++----- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/handlers/main.yml b/handlers/main.yml index e5ba51d..5963d66 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -9,11 +9,6 @@ - name: "Include NetData to Boot-List" command: update-rc.d netdata defaults -- name: "Start NetData" - service: - name='netdata' - state='started' - - name: "Re-start NetData" service: name='netdata' diff --git a/tasks/main.yml b/tasks/main.yml index 8b671aa..99a5dd5 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -51,7 +51,7 @@ mode=755 notify: - "Include NetData to Boot-List" - - "Start NetData" + - "Re-start NetData" - name: "Install logrotate script" template: @@ -79,8 +79,8 @@ template: src='python.d.conf' dest='/etc/netdata/python.d.conf' - owner='netdata' - group='netdata' + owner='root' + group='root' mode=644 notify: - "Re-start NetData" @@ -89,8 +89,8 @@ template: src='{{ item }}.conf' dest='/etc/netdata/python.d/{{ item }}.conf' - owner='netdata' - group='netdata' + owner='root' + group='root' mode=644 with_items: - 'mysql' -- GitLab