diff --git a/tasks/zabbix-agent2.yml b/tasks/zabbix-agent2.yml index 816dea1..2d09a34 100644 --- a/tasks/zabbix-agent2.yml +++ b/tasks/zabbix-agent2.yml @@ -4,6 +4,10 @@ ansible.builtin.apt: deb: https://repo.zabbix.com/zabbix/6.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.4-1+ubuntu20.04_all.deb +- name: apt update + ansible.builtin.apt: + update_cache: yes + - name: Zabbix-agent2 install ansible.builtin.apt: pkg: