mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
Update to 2022-01-27 17:00
This commit is contained in:
parent
e293e29bbb
commit
6870f5b171
@ -13,6 +13,7 @@ zabbix_agent_server_active: []
|
||||
|
||||
zabbix_agent_base_conf:
|
||||
PidFile: /var/run/zabbix/zabbix_agentd.pid
|
||||
ControlSocket: /var/run/zabbix/zabbix_agent2.sock
|
||||
LogType: system
|
||||
Server: "{{ zabbix_agent_servers | join(',') }}"
|
||||
ListenPort: "{{ zabbix_agent_port }}"
|
||||
|
@ -1,6 +1,8 @@
|
||||
{% for key in zabbix_agent_conf.keys() | list %}
|
||||
{% if zabbix_agent2 and key in ['StartAgents'] %}
|
||||
# Ignoring directive {{ key }}={{ zabbix_agent_conf[key] }} as it's not supported in agent2
|
||||
{% elif not zabbix_agent2 and key in ['ControlSocket'] %}
|
||||
# Ignoring directive {{ key }}={{ zabbix_agent_conf[key] }} as it's not supported in agent
|
||||
{% else %}
|
||||
{% if not zabbix_agent_conf[key] is string and zabbix_agent_conf[key] is iterable %}
|
||||
{% for x in zabbix_agent_conf[key] %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user