mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-26 15:55:56 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
6
roles/zabbix_agent/templates/block_devices.conf.j2
Normal file
6
roles/zabbix_agent/templates/block_devices.conf.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
{% if zabbix_dev_disco.rc == 0 %}
|
||||
# Discover block devices
|
||||
UserParameter=vfs.dev.discovery,/var/lib/zabbix/bin/disco_block_devices
|
||||
{% else %}
|
||||
# vfs.dev.discovery is natively supported, not UserParameter needed
|
||||
{% endif %}
|
9
roles/zabbix_agent/templates/zabbix_agentd.conf.j2
Normal file
9
roles/zabbix_agent/templates/zabbix_agentd.conf.j2
Normal file
@@ -0,0 +1,9 @@
|
||||
{% for key in zabbix_agent_conf.keys() | list %}
|
||||
{% if not zabbix_agent_conf[key] is string and zabbix_agent_conf[key] is iterable %}
|
||||
{% for x in zabbix_agent_conf[key] %}
|
||||
{{ key }}={{ x }}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
{{ key }}={{ zabbix_agent_conf[key] }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
Reference in New Issue
Block a user