From 5d3cc6dd8b32fc428961231d66f7f5bcfa4ea278 Mon Sep 17 00:00:00 2001 From: cradle8810 Date: Tue, 10 Oct 2023 22:18:10 +0900 Subject: [PATCH] =?UTF-8?q?Zabbix=20Agent=E3=82=A4=E3=83=B3=E3=82=B9?= =?UTF-8?q?=E3=83=88=E3=83=BC=E3=83=AB=E5=89=8D=E3=81=ABapt=20update?= =?UTF-8?q?=E3=82=92=E5=AE=9F=E6=96=BD=E3=81=99=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/zabbix-agent2.yml | 4 ++++ 1 file changed, 4 insertions(+) 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: