Skip to content

Commit

Permalink
winPB: Stop using ansible.windows as prefix to tasks
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <[email protected]>
  • Loading branch information
sxa committed Nov 28, 2024
1 parent e23e780 commit e946cf1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
#######################################

- name: Check if the ibxbuild service exists

Check failure on line 6 in ansible/playbooks/AdoptOpenJDK_Windows_Playbook/roles/Incredibuild/tasks/main.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

syntax-check[unknown-module]

couldn't resolve module/action 'win_service_info'. This often indicates a misspelling, missing collection, or incorrect module path.
ansible.windows.win_service_info:
win_service_info:
name: IBXDashboard
register: service_info

- name: Stop the IBX Dashboard service if it exists
ansible.windows.win_service:
win_service:
name: IBXDashboard
state: stopped
when: service_info.exists
Expand All @@ -28,7 +28,7 @@
when: incredibuild_conf_file.stat.exists

- name: Start the IBX Dashboard service if it exists
ansible.windows.win_service:
win_service:
name: IBXDashboard
state: started
when: service_info.exists
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
tags: MSVS_2022_REDIST

- name: Check if C:\openjdk\devkit exists
ansible.windows.win_stat:
win_stat:
path: 'c:\openjdk\devkit'
register: directory_status
tags: MSVS_2022_REDIST

- name: Create C:\openjdk\devkit if it does not exist
ansible.windows.win_file:
win_file:
path: 'c:\openjdk\devkit\'
state: directory
when: not directory_status.stat.exists
Expand Down

0 comments on commit e946cf1

Please sign in to comment.