added test installation netdata
This commit is contained in:
1 parent
17b4ed6ef6
commit
8c41c9e70b
3 files changed
+22
No files matched your search
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
netdata: true
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
Reference in new issue
Block a user