mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2022-01-24 12:00
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
---
|
||||
- name: Deploy Zabbix Agent configuration
|
||||
template: src=zabbix_agentd.conf.j2 dest=/etc/zabbix/zabbix_agentd.conf
|
||||
template: src=zabbix_agentd.conf.j2 dest=/etc/zabbix/{{ zabbix_agent2 | ternary('zabbix_agent2.conf', '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
|
||||
shell: "{{ zabbix_agent2 | ternary('zabbix_agent2', 'zabbix_agentd') }} -t vfs.dev.discovery -c /dev/null | grep -q ZBX_NOTSUPPORTED"
|
||||
register: zabbix_dev_disco
|
||||
failed_when: False
|
||||
changed_when: False
|
||||
|
Reference in New Issue
Block a user