diff --git a/molecule/zabbix_agent_tests/molecule/agent2/tests/conftest.py b/molecule/zabbix_agent_tests/molecule/agent2/tests/conftest.py index 5d7087ab2..05afef10e 100644 --- a/molecule/zabbix_agent_tests/molecule/agent2/tests/conftest.py +++ b/molecule/zabbix_agent_tests/molecule/agent2/tests/conftest.py @@ -13,7 +13,7 @@ def zabbix_agent_conf(host): if host.system_info.distribution in ["opensuse"]: passwd = host.file("/etc/zabbix/zabbix-agentd.conf") else: - passwd = host.file("/etc/zabbix/zabbix_agent2.conf") + passwd = host.file("/etc/zabbix/zabbix_agent2d.conf") return passwd diff --git a/molecule/zabbix_agent_tests/molecule/agent2autopsk/tests/conftest.py b/molecule/zabbix_agent_tests/molecule/agent2autopsk/tests/conftest.py index 5d7087ab2..05afef10e 100644 --- a/molecule/zabbix_agent_tests/molecule/agent2autopsk/tests/conftest.py +++ b/molecule/zabbix_agent_tests/molecule/agent2autopsk/tests/conftest.py @@ -13,7 +13,7 @@ def zabbix_agent_conf(host): if host.system_info.distribution in ["opensuse"]: passwd = host.file("/etc/zabbix/zabbix-agentd.conf") else: - passwd = host.file("/etc/zabbix/zabbix_agent2.conf") + passwd = host.file("/etc/zabbix/zabbix_agent2d.conf") return passwd diff --git a/roles/zabbix_agent/tasks/Windows.yml b/roles/zabbix_agent/tasks/Windows.yml index 028daf701..ddf24d3d2 100644 --- a/roles/zabbix_agent/tasks/Windows.yml +++ b/roles/zabbix_agent/tasks/Windows.yml @@ -32,7 +32,7 @@ zabbix_win_config_name: "zabbix_agentd.conf" zabbix2_win_svc_name: Zabbix Agent 2 zabbix2_win_exe_path: '{{ zabbix_win_install_dir }}\bin\zabbix_agent2.exe' - zabbix2_win_config_name: "zabbix_agent2.conf" + zabbix2_win_config_name: "zabbix_agent2d.conf" tags: - always