You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
580 B
18 lines
580 B
5 years ago
|
---
|
||
|
- name: Deploy Zabbix Agent configuration
|
||
|
template: src=zabbix_agentd.conf.j2 dest=/etc/zabbix/zabbix_agentd.conf
|
||
|
notify: restart zabbix-agent
|
||
|
tags: zabbix
|
||
|
|
||
|
- name: Detect if vfs.dev.discovery is supported natively
|
||
|
shell: zabbix_agentd -t vfs.dev.discovery -c /dev/null | grep -q ZBX_NOTSUPPORTED
|
||
|
register: zabbix_dev_disco
|
||
|
failed_when: False
|
||
|
changed_when: False
|
||
|
tags: zabbix
|
||
|
|
||
|
- name: Handle block dev discovery config
|
||
|
template: src=block_devices.conf.j2 dest=/etc/zabbix/zabbix_agentd.conf.d/block_devices.conf
|
||
|
notify: restart zabbix-agent
|
||
|
tags: zabbix
|