Overdue commit
This commit is contained in:
parent
1e03c32201
commit
692269f9ff
49 changed files with 843 additions and 198 deletions
39
roles/netdata/tasks/main.yml
Normal file
39
roles/netdata/tasks/main.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
---
|
||||
|
||||
- name: Add netdata repo
|
||||
copy:
|
||||
src: netdata.repo
|
||||
mode: "0644"
|
||||
dest: /etc/yum.repos.d/netdata.repo
|
||||
become: yes
|
||||
|
||||
- name: Install netdata
|
||||
dnf:
|
||||
name:
|
||||
- netdata
|
||||
notify: enable netdata
|
||||
become: yes
|
||||
|
||||
- name: Add netdata conf
|
||||
template:
|
||||
src: netdata.conf.j2
|
||||
mode: "0644"
|
||||
dest: /etc/netdata/netdata.conf
|
||||
notify: restart netdata
|
||||
become: yes
|
||||
|
||||
- name: Add netdata python.d.conf
|
||||
template:
|
||||
src: python.d.conf.j2
|
||||
mode: "0644"
|
||||
dest: /etc/netdata/python.d.conf
|
||||
notify: restart netdata
|
||||
become: yes
|
||||
|
||||
- name: Add netdata nvidia_smi.conf
|
||||
template:
|
||||
src: nvidia_smi.conf.j2
|
||||
mode: "0644"
|
||||
dest: /etc/netdata/python.d/nvidia_smi.conf
|
||||
notify: restart netdata
|
||||
become: yes
|
Loading…
Add table
Add a link
Reference in a new issue