Skip to content

Commit

Permalink
Revert "Fix ansible service info"
Browse files Browse the repository at this point in the history
This reverts commit 501d1ba.
  • Loading branch information
steelhead31 committed Sep 4, 2024
1 parent 501d1ba commit 3b25b81
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@

## This Section Is For Ansible 2 < 2.10
- name: Gather Facts About Windows Services
win_service_info:
name: IBXDashboard
register: IBXDashboard_service_info
win_service_facts:

- name: Ensure IBXDashboard Service Is stopped
win_service:
name: IBXDashboard
state: stopped
when: IBXDashboard_service_info.services | length > 0
when: "'IBXDashboard' in win_services"

- name: Check if incredibuild.conf file exists
win_stat:
Expand All @@ -52,4 +50,4 @@
win_service:
name: IBXDashboard
state: started
when: IBXDashboard_service_info.services | length > 0
when: "'IBXDashboard' in win_services"

0 comments on commit 3b25b81

Please sign in to comment.