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

Remove options that prevent clear notifications

parent 818df078
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,17 @@
notify:
- "Restart NetData"
- name: "Get a list of all health config files"
shell: 'ls /etc/netdata/health.d/*.conf -1'
register: health_list
- name: "Remove all options that prevent clear notifications"
lineinfile:
path: '{{ item }}'
state: absent
regexp: 'no-clear-notification'
with_items: '{{ health_list.stdout_lines }}'
- name: "Patch Startup Script"
lineinfile:
dest: '/etc/init.d/netdata'
......
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