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

#17 Modify original files with our custom twekas

parent f4cd6e29
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
- "Restart NetData" - "Restart NetData"
- name: "Get a list of all health config files" - 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 register: health_list
- name: "Remove all options that prevent clear notifications" - name: "Remove all options that prevent clear notifications"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
- name: "Configure Plugin: MySQL" - name: "Configure Plugin: MySQL"
replace: replace:
dest: '/etc/netdata/python.d/mysql.conf' dest: '/usr/lib/netdata/conf.d/python.d/mysql.conf'
regexp: '#[\s]*pass[\s]*:[\s]*''''' regexp: '#[\s]*pass[\s]*:[\s]*'''''
replace: 'pass : ''{{ mysql_root_password|default("root") }}''' replace: 'pass : ''{{ mysql_root_password|default("root") }}'''
notify: notify:
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
- name: "Make alerts silent" - name: "Make alerts silent"
replace: replace:
dest: '/etc/netdata/health.d/{{ item }}.conf' dest: '/usr/lib/netdata/conf.d/health.d/{{ item }}.conf'
regexp: ' to: .*$' regexp: ' to: .*$'
replace: ' to: silent' replace: ' to: silent'
backup: yes backup: yes
......
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