diff --git a/tasks/prepare.yml b/tasks/prepare.yml
index 2ad323a157c8f82d84b33292d63e462ea5467e1f..de874f791ff80c4e6b2d4d197b31773b3e287d12 100644
--- a/tasks/prepare.yml
+++ b/tasks/prepare.yml
@@ -4,7 +4,7 @@
 - name: "Install required packages"
   apt:
     pkg: '{{ item }}'
-    state: 'installed'
+    state: 'present'
     update_cache: yes
   with_items:
     - 'zlib1g-dev'
diff --git a/templates/health_alarm_notify.conf b/templates/health_alarm_notify.conf
index 167a26a9e64ed19fa7c6dc3e0abe626674e0c0f6..893bad70ff2a5fd9bb914fc89af2550716e962fd 100644
--- a/templates/health_alarm_notify.conf
+++ b/templates/health_alarm_notify.conf
@@ -87,6 +87,26 @@ curl=""
 # To disable a notification, use the recipient called: disabled
 # This works for all notification methods (including the default recipients).
 
+#------------------------------------------------------------------------------
+# alerta global notification options
+
+# enable/disable sending alerta notifications
+SEND_ALERTA="{{ netdata_alerta_enabled|default('NO') }}"
+
+# here set your alerta server API url
+# this is the API url you defined when installed Alerta server,
+# it is the same for all users. Do not include last slash.
+ALERTA_WEBHOOK_URL="{{ netdata_alerta_webhook|default('') }}"
+
+# Login with an administrative user to you Alerta server and create an API KEY
+# with write permissions.
+ALERTA_API_KEY="{{ netdata_alerta_apikey|default('') }}"
+
+# you can define environments in /etc/alertad.conf option ALLOWED_ENVIRONMENTS
+# standard environments are Production and Development
+# if a role's recipients are not configured, a notification will be send to
+# this Environment (empty = do not send a notification for unconfigured roles):
+DEFAULT_RECIPIENT_ALERTA="{{ netdata_alerta_environment|default('Production') }}"
 
 #------------------------------------------------------------------------------
 # email global notification options