mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Add Windows feature of upgrade agents (#146)
This commit is contained in:
@ -30,6 +30,9 @@
|
||||
{% if telegraf_agent_version is version_compare('1.1', '>=') %}
|
||||
{% if ansible_os_family == "Windows" %}
|
||||
logfile = "{{ telegraf_win_logfile }}"
|
||||
logfile_rotation_interval = "{{ telegraf_win_logfile_rotation_interval }}"
|
||||
logfile_rotation_max_size = "{{ telegraf_win_logfile_rotation_max_size }}"
|
||||
logfile_rotation_max_archives = {{ telegraf_win_logfile_rotation_max_archives| int }}
|
||||
{% else %}
|
||||
logfile = "{{ telegraf_agent_logfile }}"
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user