forked from FF-RGB/ansible
prometheus: update for buster
This commit is contained in:
parent
64663f74d3
commit
7db68dfcec
@ -7,7 +7,7 @@ The python package netaddr is required on the host running ansible.
|
|||||||
|
|
||||||
The vault password must be stored in `.vault_pass`.
|
The vault password must be stored in `.vault_pass`.
|
||||||
|
|
||||||
The *only* supported distribution to deploy roles on is debian stretch.
|
The *only* supported distributions to deploy roles on is debian stretch and buster (stretch may be too old for prometheus).
|
||||||
|
|
||||||
|
|
||||||
## Running Ansible
|
## Running Ansible
|
||||||
|
@ -1,10 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Enable backports for prometheus
|
|
||||||
apt_repository: repo='deb http://httpredir.debian.org/debian stretch-backports main'
|
|
||||||
|
|
||||||
- name: Install prometheus
|
- name: Install prometheus
|
||||||
apt: name=prometheus default_release='stretch-backports'
|
apt: name=prometheus
|
||||||
|
|
||||||
- name: Configure prometheus
|
- name: Configure prometheus
|
||||||
template: src=prometheus.yml.j2 dest=/etc/prometheus/prometheus.yml
|
template: src=prometheus.yml.j2 dest=/etc/prometheus/prometheus.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user