add node exporters to hypervisor hosts
This commit is contained in:
parent
23a75af38c
commit
7aee24efff
3 changed files with 10 additions and 0 deletions
1
ansible/inventory/group_vars/main.yml
Normal file
1
ansible/inventory/group_vars/main.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
node_exporter_version: 1.6.1
|
6
ansible/prometheus.yml
Normal file
6
ansible/prometheus.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
- name: Setup prometheus
|
||||||
|
hosts: hypervisors
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- role: geerlingguy.node_exporter
|
|
@ -1,3 +1,5 @@
|
||||||
|
---
|
||||||
|
roles:
|
||||||
- name: setup_apt
|
- name: setup_apt
|
||||||
src: https://github.com/sunscrapers/ansible-role-apt.git
|
src: https://github.com/sunscrapers/ansible-role-apt.git
|
||||||
scm: git
|
scm: git
|
||||||
|
@ -13,3 +15,4 @@
|
||||||
- name: postgresql_database
|
- name: postgresql_database
|
||||||
src: https://git.kun.is/home/ansible-role-postgresql-database
|
src: https://git.kun.is/home/ansible-role-postgresql-database
|
||||||
scm: git
|
scm: git
|
||||||
|
- name: geerlingguy.node_exporter
|
||||||
|
|
Reference in a new issue