diff --git a/zabbix-repo/tasks/main.yml b/zabbix-repo/tasks/main.yml
index a7bc01cc18869a03ae5a1c699b120bec892409b1..127db4b94cbceb313112e49d3c5fcf0ae52ccc85 100644
--- a/zabbix-repo/tasks/main.yml
+++ b/zabbix-repo/tasks/main.yml
@@ -15,8 +15,8 @@
 - name: ensure apt knows about the zabbix repo
   apt_repository: repo={{ item }} state=present
   with_items:
-    - 'deb http://repo.zabbix.com/zabbix/3.0/debian jessie main'
-    - 'deb-src http://repo.zabbix.com/zabbix/3.0/debian jessie main'
+    - 'deb http://repo.zabbix.com/zabbix/3.0/debian {{debian_version}} main'
+    - 'deb-src http://repo.zabbix.com/zabbix/3.0/debian {{debian_version}} main'
   notify:
     - update apt cache
   tags: