ansible/roles/node_exporter/templates/roles.prom.j2

6 lines
153 B
Plaintext
Raw Permalink Normal View History

2022-08-30 12:49:00 +00:00
{% if node_exporter_machine_roles is defined %}
{% for role in node_exporter_machine_roles %}
machine_role{role="{{ role }}"} 1
{% endfor %}
{% endif %}