Skip to content

Commit

Permalink
copy all content of setup folders
Browse files Browse the repository at this point in the history
  • Loading branch information
meis4h committed Oct 11, 2024
1 parent 0359163 commit 6afdd5f
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions roles/zabbix_agent/tasks/Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,9 @@

- name: "Windows | Copy binary files to expected location"
ansible.windows.win_copy:
src: "{{ zabbix_win_install_dir_setup }}\\bin\\{{ item }}"
dest: "{{ zabbix_win_install_dir_bin }}\\{{ item }}"
src: "{{ zabbix_win_install_dir_setup }}\\bin\\"
dest: "{{ zabbix_win_install_dir_bin }}\\"
remote_src: true
loop:
- "{{ zabbix_win_exe_name }}"
- zabbix_sender.exe
- zabbix_get.exe
when:
- zabbix_agent_version_change | default(false) or not zabbix_windows_binaries.stat.exists
- zabbix_agent_win_download_zip is changed or file_info.stat.exists
Expand All @@ -265,8 +261,8 @@

- name: "Windows | Copy initial configuration to expected location"
ansible.windows.win_copy:
src: "{{ zabbix_win_install_dir_setup }}\\conf\\{{ zabbix_win_config_name }}"
dest: "{{ zabbix_win_install_dir_conf }}\\{{ zabbix_win_config_name }}"
src: "{{ zabbix_win_install_dir_setup }}\\conf\\"
dest: "{{ zabbix_win_install_dir_conf }}\\"
force: false
remote_src: true
when:
Expand Down

0 comments on commit 6afdd5f

Please sign in to comment.