mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-22 09:41:01 +01:00
11 lines
241 B
Django/Jinja
11 lines
241 B
Django/Jinja
{{ ansible_managed | comment }}
|
|
|
|
[Unit]
|
|
Description=Collect {{ item.key }} metrics for prometheus-node-exporter every {{ item.value.interval }}
|
|
|
|
[Timer]
|
|
OnBootSec=0
|
|
OnUnitActiveSec={{ item.value.interval }}
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|