EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 73d1070e authored by Karl Grube's avatar Karl Grube
Browse files

prometheus role

parent 5d91d7bd
Branches main
No related tags found
No related merge requests found
......@@ -13,3 +13,14 @@
value: "1"
state: present
reload: yes
- name: prometheus role file
lineinfile:
path: /var/lib/prometheus/node-exporter/role.prom
line: 'role{name="k3s",type="kubernetes worker node"} 1'
regex: '^role{name="k3s".*'
create: yes
owner: root
group: root
mode: 0644
tags: prom_textfile
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