Update to 2022-01-24 12:00

This commit is contained in:
Daniel Berteaud
2022-01-24 12:00:19 +01:00
parent 3157f85dad
commit 1e81d72197
20 changed files with 67 additions and 26 deletions

View File

@@ -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