diff --git a/roles/zabbix_web/tasks/Debian.yml b/roles/zabbix_web/tasks/Debian.yml index 69537596e..47d997b0b 100644 --- a/roles/zabbix_web/tasks/Debian.yml +++ b/roles/zabbix_web/tasks/Debian.yml @@ -83,6 +83,7 @@ apt_repository: repo: "{{ item }} {{ zabbix_server_apt_repository | join(' ') }}" state: present + when: zabbix_repo == "zabbix" become: true with_items: - deb-src