Ajout role Zabbix-cli + ajout des agents dans les srv
This commit is contained in:
12
roles/zabbix-cli/handlers/main.yml
Normal file
12
roles/zabbix-cli/handlers/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- name: config
|
||||
template:
|
||||
src: zabbix_agentd.conf.temp
|
||||
dest: /etc/zabbix/zabbix_agentd.conf
|
||||
vars:
|
||||
PidFile: /run/zabbix/zabbix_agentd.pid
|
||||
LogFile: /var/log/zabbix/zabbix_agentd.log
|
||||
LogFileSize: 0
|
||||
Server: 127.0.0.1
|
||||
ServerActive: 192.168.99.106
|
||||
Hostname: "{{ ansible_hostname }}"
|
||||
Include: /etc/zabbix/zabbix_agentd.d/*.conf
|
Reference in New Issue
Block a user