Skip to content
Snippets Groups Projects
Verified Commit 274396ce authored by David Mehren's avatar David Mehren
Browse files

Update to netdata_base 2.0

parent 21453472
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,8 @@
dependencies:
- src: git@gitlab.fachschaften.org:fsi-ansible/netdata-base.git
scm: git
version: "v1.0"
version: "v2.0"
name: netdata_base
- src: git@gitlab.fachschaften.org:fsi-ansible/msmtp_relay.git
scm: git
version: "v1.0"
version: "v1.3"
......@@ -2,14 +2,14 @@
- name: Copy netdata stream config
template:
src: stream.conf.j2
dest: /opt/netdata/etc/netdata/stream.conf
dest: /etc/netdata/stream.conf
when: netdata_master
notify: restart netdata
- name: Copy health override config
copy:
src: "{{ item }}"
dest: /opt/netdata/etc/netdata/health.d/
dest: /etc/netdata/health.d/
with_fileglob:
- "{{ inventory_hostname }}/netdata_health_override.conf"
- "netdata_health_global.conf"
......@@ -22,7 +22,7 @@
- name: set email sender
lineinfile:
path: /opt/netdata/etc/netdata/health_alarm_notify.conf
path: /etc/netdata/health_alarm_notify.conf
regexp: "^EMAIL_SENDER=\".*\""
line: "EMAIL_SENDER=\"{{ netdata_from_email }}\""
state: present
......@@ -31,7 +31,7 @@
- name: set email recipient
lineinfile:
path: /opt/netdata/etc/netdata/health_alarm_notify.conf
path: /etc/netdata/health_alarm_notify.conf
regexp: "^DEFAULT_RECIPIENT_EMAIL=\".*\""
line: "DEFAULT_RECIPIENT_EMAIL=\"{{ netdata_to_email }}\""
state: present
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment