added test installation netdata

This commit is contained in:
rene committed 2021-03-12 11:41:05 +01:00
1 parent 17b4ed6ef6
commit 8c41c9e70b
3 files changed
+22

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
---
netdata: true
+7
View File
@@ -1,3 +1,10 @@
---
# Load distro specific variables
- include_vars: "{{ ansible_distribution }}.yml"
tags: always
- block:
- include_tasks: utilities/netdata.yml
when: netdata is defined and netmon == true
# vim: ts=2 sw=2
+13
View File
@@ -0,0 +1,13 @@
---
- name: Install netdata
package:
name: netdata
state: installed
- name: Enable and start netdata service
service:
name: netdata
state: started
enabled: yes
# vim: ts=2 sw=2