Install prometheus componants
This commit is contained in:
parent
a80144c1a9
commit
79058e81e6
1 changed files with 12 additions and 0 deletions
12
roles/prometheus/tasks/main.yml
Normal file
12
roles/prometheus/tasks/main.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
- name: Install Prometheus Components
|
||||
apt:
|
||||
name:
|
||||
- prometheus
|
||||
- prometheus-alertmanager
|
||||
- prometheus-pushgateway
|
||||
state: latest
|
||||
update_cache: true
|
||||
register: apt_result
|
||||
retries: 3
|
||||
until: apt_result is succeeded
|
Loading…
Reference in a new issue