diff --git a/tasks/heartbeat.yml b/tasks/heartbeat.yml
index 93d54e457aa1daf0ec9f4bbe1ce33245ae9dbf96..61368d5c0060140d6ba63d4366ff3c1b45ffa27d 100644
--- a/tasks/heartbeat.yml
+++ b/tasks/heartbeat.yml
@@ -4,5 +4,5 @@
 - 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'
+    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,"tags":["environment:{{ netdata_alerta_environment|default(''production'') }}"]}'' >/dev/null 2>&1'
   tags: 'cron'