disk service jenkinsfile less verbose

This commit is contained in:
2025-10-26 15:18:41 -07:00
parent 8411578068
commit 0435dabd87
8 changed files with 90 additions and 32 deletions

View File

@ -5,9 +5,21 @@
name: nssm
state: present
- name: Install the foo service
- name: Install disk_api service
community.windows.win_nssm:
name: foo
application: C:\windows\foo.exe
name: "{{ disk_service_name }}"
application: "{{ storage_api_root }}\\dist\\disk_service.exe"
- name: Set disk_api service startup auto and start
ansible.windows.win_service:
name: "{{ disk_service_name }}"
start_mode: auto
state: started
register: disk_service_status
- name: Show service result
debug:
msg:
- "{{ disk_service_status }}"
...