Skip to content

Commit

Permalink
Merge pull request #64 from cradle8810/zabbix_agent_apt_cache
Browse files Browse the repository at this point in the history
Zabbix Agentインストール前にapt updateを実施するよう変更
  • Loading branch information
cradle8810 authored Oct 10, 2023
2 parents 59960f5 + 5d3cc6d commit b6caaeb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasks/zabbix-agent2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b6caaeb

Please sign in to comment.