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

Linting fixes

parent 6b3d10ab
No related branches found
No related tags found
No related merge requests found
--- ---
- name: reload netdata alarms - name: Reload netdata alarms
ansible.builtin.command: killall -USR2 netdata ansible.builtin.command: killall -USR2 netdata
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
notify: restart netdata notify: Restart netdata
- name: Copy netdata stream config - name: Copy netdata stream config
ansible.builtin.template: ansible.builtin.template:
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
group: root group: root
mode: 0644 mode: 0644
when: netdata_master when: netdata_master
notify: restart netdata notify: Restart netdata
- name: Copy health override config - name: Copy health override config
ansible.builtin.copy: ansible.builtin.copy:
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
notify: reload netdata alarms notify: Reload netdata alarms
- name: Enable netdata - name: Enable netdata
ansible.builtin.service: ansible.builtin.service:
...@@ -57,15 +57,15 @@ ...@@ -57,15 +57,15 @@
- name: Set email sender - name: Set email sender
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: /etc/netdata/health_alarm_notify.conf path: /etc/netdata/health_alarm_notify.conf
regexp: "^EMAIL_SENDER=\".*\"" regexp: ^EMAIL_SENDER=".*"
line: "EMAIL_SENDER=\"{{ netdata_from_email }}\"" line: EMAIL_SENDER="{{ netdata_from_email }}"
state: present state: present
notify: reload netdata alarms notify: Reload netdata alarms
- name: Set email recipient - name: Set email recipient
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: /etc/netdata/health_alarm_notify.conf path: /etc/netdata/health_alarm_notify.conf
regexp: "^DEFAULT_RECIPIENT_EMAIL=\".*\"" regexp: ^DEFAULT_RECIPIENT_EMAIL=".*"
line: "DEFAULT_RECIPIENT_EMAIL=\"{{ netdata_to_email }}\"" line: DEFAULT_RECIPIENT_EMAIL="{{ netdata_to_email }}"
state: present state: present
notify: restart netdata notify: Restart netdata
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment