Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winPB: Stop using ansible.windows as prefix to tasks #3828

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,20 @@
ansible.windows.win_service_info:
name: IBXDashboard
register: service_info
tags: incredibuild

- name: Stop the IBX Dashboard service if it exists
ansible.windows.win_service:
name: IBXDashboard
state: stopped
when: service_info.exists
tags: incredibuild

- name: Check if incredibuild.conf file exists
win_stat:
path: 'C:\Program Files (x86)\IncrediBuild\Dashboard\Apache24\conf\incredibuild.conf'
register: incredibuild_conf_file
tags: incredibuild

- name: Replace APACHE_PORT in incredibuild.conf if file exists
win_lineinfile:
Expand All @@ -26,9 +29,11 @@
line: 'define APACHE_PORT 31000'
backup: yes
when: incredibuild_conf_file.stat.exists
tags: incredibuild

- name: Start the IBX Dashboard service if it exists
ansible.windows.win_service:
name: IBXDashboard
state: started
when: service_info.exists
tags: incredibuild
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