From 7db68dfcec91ebe1c5a0f6d0896efdd6becb6f4c Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Mon, 7 Oct 2019 15:36:50 +0200 Subject: [PATCH] prometheus: update for buster --- README.md | 2 +- roles/prometheus/tasks/main.yml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 99848d0..c708e97 100644 --- a/README.md +++ b/README.md @@ -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 *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 diff --git a/roles/prometheus/tasks/main.yml b/roles/prometheus/tasks/main.yml index 1f866a7..057f322 100644 --- a/roles/prometheus/tasks/main.yml +++ b/roles/prometheus/tasks/main.yml @@ -1,10 +1,7 @@ --- -- name: Enable backports for prometheus - apt_repository: repo='deb http://httpredir.debian.org/debian stretch-backports main' - - name: Install prometheus - apt: name=prometheus default_release='stretch-backports' + apt: name=prometheus - name: Configure prometheus template: src=prometheus.yml.j2 dest=/etc/prometheus/prometheus.yml