1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-11-22 09:41:01 +01:00
ansible-collection-prometheus/roles/prometheus_node/templates/prometheus-collector.timer.j2
2020-11-13 10:36:46 +01:00

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