mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-10-23 11:56:59 +02:00
12 lines
241 B
Text
12 lines
241 B
Text
|
{{ 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
|