aboutsummaryrefslogblamecommitdiffstats
path: root/roles/prometheus/tasks/main.yml
blob: aacdb6564de9d302e4964f4d0074204034c0e727 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                        

# prometheus ~~ roles/prometheus/tasks/main.yml
# init prometheus database, mainly used by grafana

---

- name: install prometheus
  package: name=prometheus state=present

- name: ensure prometheus service is started and enabled
  service: name=prometheus state=restarted enabled=true
remember that computers suck.