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: