30 lines
765 B
YAML
30 lines
765 B
YAML
- name: Intallation paquet zabbix agent
|
|
get_url:
|
|
url: "https://repo.zabbix.com/zabbix/6.4/debian/pool/main/z/zabbix-release/zabbix-release_6.4-1+debian12_all.deb"
|
|
dest: "/tmp/zabbix-release_6.4-1+debian12_all.deb"
|
|
|
|
- name: Intallation paquet zabbix agent suite
|
|
apt:
|
|
deb: "/tmp/zabbix-release_6.4-1+debian12_all.deb"
|
|
state: present
|
|
|
|
- name: Update apt
|
|
apt:
|
|
update_cache: yes
|
|
|
|
- name: Intallation Zabbix agent
|
|
apt:
|
|
name: zabbix-agent
|
|
state: present
|
|
|
|
- name: Enable Zabbix agent service
|
|
systemd:
|
|
name: zabbix-agent
|
|
enabled: yes
|
|
|
|
- name: Rm package
|
|
file:
|
|
path: "/tmp/zabbix-release_6.4-1+debian12_all.deb"
|
|
state: absent
|
|
|