Skip to content

Commit

Permalink
Removed Duplicate Task
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrodie18 committed Sep 9, 2023
1 parent 881bbe0 commit 854caee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/duplicate-windows-agent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- agent role - Removed duplicative Windows agent task
15 changes: 0 additions & 15 deletions roles/zabbix_agent/tasks/Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -350,18 +350,3 @@
when: not zabbix_windows_service.exists
tags:
- service

- name: "Windows | Set service startup mode to auto, ensure it is started and set auto-recovery"
ansible.windows.win_service:
name: "{{ zabbix_win_svc_name }}"
start_mode: auto
failure_actions:
- type: restart
delay_ms: 5000
- type: restart
delay_ms: 10000
- type: restart
delay_ms: 20000
failure_reset_period_sec: 86400
tags:
- service

0 comments on commit 854caee

Please sign in to comment.