prometheus: update for buster

This commit is contained in:
Markus 2019-10-07 15:36:50 +02:00
parent 64663f74d3
commit 7db68dfcec
2 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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