Skip to content
Snippets Groups Projects
Commit 61cf1eb8 authored by ynerant's avatar ynerant
Browse files

[prometheus] Install prometheus-node-exporter-collectors on bullseye


Signed-off-by: ynerant's avatarynerant <ynerant@crans.org>
parent 99ed3ad5
No related branches found
No related tags found
1 merge request!214Fix root playbook
......@@ -23,6 +23,17 @@
when:
- ansible_lsb.codename == 'stretch'
- name: Install Prometheus node-exporter-collectors (bullseye)
apt:
update_cache: true
name: prometheus-node-exporter-collectors
install_recommends: false
register: apt_result
retries: 3
until: apt_result is succeeded
when:
- ansible_lsb.codename == 'bullseye'
- name: Activate prometheus-node-exporter service
systemd:
name: prometheus-node-exporter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment