ansible-collections / community.zabbix

Zabbix Ansible modules
http://galaxy.ansible.com/community/zabbix
Other
322 stars 284 forks source link

LogFile in zabbix_agent/templates/zabbix_agent2.conf.j2 #503

Closed wemian closed 3 years ago

wemian commented 3 years ago

Dublicate LogFile={{ zabbix_agent2_logfile }}

### Option: LogFile
#   Log file name for LogType 'file' parameter.
#
# Mandatory: yes, if LogType is set to file, otherwise no
# Default:

LogFile={{ zabbix_agent2_logfile }}                                           <-- here

{% if zabbix_agent_os_family == "Windows" %}
LogFile={{ zabbix_agent2_win_logfile }}
{% else %}
LogFile={{ zabbix_agent2_logfile }}                                           <-- and here
{% endif %}
chicha75 commented 3 years ago

Sent PR #504 to "fix" it.

dj-wasabi commented 3 years ago

Merged the PR, so I will close this issue.