From 94716a0fa898c1553a3cb84784d328c9f8be154c Mon Sep 17 00:00:00 2001 From: piwinkler <9642809+piwinkler@users.noreply.github.com> Date: Thu, 7 Dec 2023 05:49:25 +0100 Subject: [PATCH] Update zabbix_server.conf.j2 (#1142) --------- Co-authored-by: Troy W --- changelogs/fragments/1142.yml | 2 ++ roles/zabbix_server/templates/zabbix_server.conf.j2 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/1142.yml diff --git a/changelogs/fragments/1142.yml b/changelogs/fragments/1142.yml new file mode 100644 index 000000000..3fd77c8be --- /dev/null +++ b/changelogs/fragments/1142.yml @@ -0,0 +1,2 @@ +bugfixes: + - server role - typo in configuration var StasAllowedIP to StatsAllowedIP diff --git a/roles/zabbix_server/templates/zabbix_server.conf.j2 b/roles/zabbix_server/templates/zabbix_server.conf.j2 index ac2264574..489e9c9f5 100644 --- a/roles/zabbix_server/templates/zabbix_server.conf.j2 +++ b/roles/zabbix_server/templates/zabbix_server.conf.j2 @@ -82,7 +82,7 @@ {{ (zabbix_server_starttimers is defined and zabbix_server_starttimers is not none) | ternary('', '# ') }}StartTimers={{ zabbix_server_starttimers | default('') }} {{ (zabbix_server_starttrappers is defined and zabbix_server_starttrappers is not none) | ternary('', '# ') }}StartTrappers={{ zabbix_server_starttrappers | default('') }} {{ (zabbix_server_startvmwarecollectors is defined and zabbix_server_startvmwarecollectors is not none) | ternary('', '# ') }}StartVMwareCollectors={{ zabbix_server_startvmwarecollectors | default('') }} -{{ (zabbix_server_statsallowedip is defined and zabbix_server_statsallowedip is not none) | ternary('', '# ') }}StasAllowedIP={{ zabbix_server_statsallowedip | default('') }} +{{ (zabbix_server_statsallowedip is defined and zabbix_server_statsallowedip is not none) | ternary('', '# ') }}StatsAllowedIP={{ zabbix_server_statsallowedip | default('') }} {{ (zabbix_server_timeout is defined and zabbix_server_timeout is not none) | ternary('', '# ') }}Timeout={{ zabbix_server_timeout | default('') }} {{ (zabbix_server_tlscafile is defined and zabbix_server_tlscafile is not none) | ternary('', '# ') }}TLSCAFile={{ zabbix_server_tlscafile | default('') }} {{ (zabbix_server_tlscertfile is defined and zabbix_server_tlscertfile is not none) | ternary('', '# ') }}TLSCertFile={{ zabbix_server_tlscertfile | default('') }}