diff --git a/tasks/heartbeat.yml b/tasks/heartbeat.yml
new file mode 100644
index 0000000000000000000000000000000000000000..93d54e457aa1daf0ec9f4bbe1ce33245ae9dbf96
--- /dev/null
+++ b/tasks/heartbeat.yml
@@ -0,0 +1,8 @@
+---
+# file: roles/netdata/tasks/heartbeat.yml
+
+- name: "Crontab for heartbeat"
+  cron:
+    name: 'Heartbeat'
+    job: '/usr/bin/curl -XPOST {{ netdata_alerta_webhook }}/heartbeat -H ''Authorization: Key {{ netdata_alerta_apikey }}'' -H ''Content-type: application/json'' -d ''{"origin":"{{ inventory_hostname }}","timeout":120}'' >/dev/null 2>&1'
+  tags: 'cron'
diff --git a/tasks/main.yml b/tasks/main.yml
index b9000f4e1d973099490704b3a7151639ccd51467..5079163dbd2f195d90f3ac9496667c5b8160cc7b 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -30,4 +30,6 @@
   - import_tasks: varnish.yml
     when: groups['varnishserver'] is defined and inventory_hostname in groups['varnishserver']
 
+  - import_tasks: heartbeat.yml
+
   when: '"netdata" not in excluded_roles'