Skip to content
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