From f8c75d5999d51c999b263040eaf9f79bddbc9b36 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Fri, 9 Nov 2018 11:21:51 +0100
Subject: [PATCH] #17 Modify original files with our custom twekas

---
 tasks/configure.yml | 2 +-
 tasks/mysql.yml     | 2 +-
 tasks/silent.yml    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tasks/configure.yml b/tasks/configure.yml
index 0fee7f0..a8e005d 100644
--- a/tasks/configure.yml
+++ b/tasks/configure.yml
@@ -50,7 +50,7 @@
     - "Restart NetData"
 
 - name: "Get a list of all health config files"
-  shell: 'ls /etc/netdata/health.d/*.conf -1'
+  shell: 'ls /usr/lib/netdata/conf.d/health.d/*.conf -1'
   register: health_list
 
 - name: "Remove all options that prevent clear notifications"
diff --git a/tasks/mysql.yml b/tasks/mysql.yml
index fd40d73..b2fd37e 100644
--- a/tasks/mysql.yml
+++ b/tasks/mysql.yml
@@ -3,7 +3,7 @@
 
 - name: "Configure Plugin: MySQL"
   replace:
-    dest: '/etc/netdata/python.d/mysql.conf'
+    dest: '/usr/lib/netdata/conf.d/python.d/mysql.conf'
     regexp: '#[\s]*pass[\s]*:[\s]*'''''
     replace: 'pass     : ''{{ mysql_root_password|default("root") }}'''
   notify:
diff --git a/tasks/silent.yml b/tasks/silent.yml
index a8abba8..63ee008 100644
--- a/tasks/silent.yml
+++ b/tasks/silent.yml
@@ -3,7 +3,7 @@
 
 - name: "Make alerts silent"
   replace:
-    dest: '/etc/netdata/health.d/{{ item }}.conf'
+    dest: '/usr/lib/netdata/conf.d/health.d/{{ item }}.conf'
     regexp: ' to: .*$'
     replace: ' to: silent'
     backup: yes
-- 
GitLab