From 54e81749726997650bbfddbbd4d1d3685a8b60a4 Mon Sep 17 00:00:00 2001 From: David Sieg <57900093+david-sieg@users.noreply.github.com> Date: Sun, 30 Jun 2024 05:26:26 +0200 Subject: [PATCH] Fix Windows zabbix-agent (#1311) --- changelogs/fragments/pr_1311.yml | 2 ++ roles/zabbix_agent/tasks/Windows_conf.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/pr_1311.yml diff --git a/changelogs/fragments/pr_1311.yml b/changelogs/fragments/pr_1311.yml new file mode 100644 index 000000000..ec32dd7a9 --- /dev/null +++ b/changelogs/fragments/pr_1311.yml @@ -0,0 +1,2 @@ +bugfixes: + - zabbix-agent Fix Configure zabbix-agent #1310 diff --git a/roles/zabbix_agent/tasks/Windows_conf.yml b/roles/zabbix_agent/tasks/Windows_conf.yml index cc7c09d50..a1ca0b318 100644 --- a/roles/zabbix_agent/tasks/Windows_conf.yml +++ b/roles/zabbix_agent/tasks/Windows_conf.yml @@ -15,7 +15,7 @@ - name: "Windows | Configure zabbix-agent" ansible.windows.win_template: - src: "{{ zabbix_win_config_name }}.j2" + src: agent.conf.j2 dest: "{{ zabbix_win_install_dir_conf }}\\{{ zabbix_win_config_name }}" notify: restart win zabbix agent tags: