mise à jour 2eme du nom zabbix cli

This commit is contained in:
Jimmy Chevanne
2024-01-11 11:51:32 +01:00
parent efcbd3d0cf
commit 4f73bd7520
3 changed files with 24 additions and 17 deletions

View File

@@ -1,12 +1,5 @@
- name: config
template:
src: zabbix_agentd.conf.temp
dest: /etc/zabbix/zabbix_agentd.conf
vars:
PidFile: "{{ PidFile }}"
LogFile: "{{ LogFile }}"
LogFileSize: "{{ LogFileSize }}"
Server: "{{ Server }}"
ServerActive: "{{ ServerActive }}"
Hostname: "{{ ansible_hostname }}"
Include: "{{ Include }}"
- name: restart zabbix agent
service:
name: zabbix-agent
state: restarted
enabled: yes