added test installation netdata

This commit is contained in:
rene
2021-03-12 11:41:05 +01:00
parent 17b4ed6ef6
commit 8c41c9e70b
3 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
---
netdata: true

View File

@@ -1,3 +1,10 @@
---
# Load distro specific variables # Load distro specific variables
- include_vars: "{{ ansible_distribution }}.yml" - include_vars: "{{ ansible_distribution }}.yml"
tags: always tags: always
- block:
- include_tasks: utilities/netdata.yml
when: netdata is defined and netmon == true
# vim: ts=2 sw=2

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