Commit de0be5df authored by Jürgen Haas's avatar Jürgen Haas
Browse files

ansible-inventories/arocom#2989 Enhance Cronjob Healthcheck lookup to support...

ansible-inventories/arocom#2989 Enhance Cronjob Healthcheck lookup to support grace period and to remove checks for inactive cronjobs
parent a486cab3
......@@ -2,7 +2,7 @@
# file: roles/netdata/tasks/heartbeat.yml
- set_fact:
healthcheckping: "{{ lookup('healthchecks', '', base_url='https://healthchecks.lakedrops.com', api_key=healthchecks.api, host=inventory_hostname, user=item.1.user|default('root'), jobname='Heartbeat', schedule='* * * * *', channels=healthchecks.channels|join(',')) }}"
healthcheckping: "{{ lookup('healthchecks', '', user=item.1.user|default('root'), jobname='Heartbeat', schedule='* * * * *') }}"
tags:
- cron
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment