mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-16 07:56:21 +00:00
perf: 优化发布机部署脚本
This commit is contained in:
parent
44967b1af1
commit
b368b6aef4
@ -25,6 +25,16 @@
|
||||
register: rds_install
|
||||
|
||||
- name: Stop Tinker before install (jumpserver)
|
||||
ansible.windows.win_powershell:
|
||||
script: |
|
||||
if (Get-Process -Name 'tinker' -ErrorAction SilentlyContinue) {
|
||||
TASKKILL /F /IM tinker.exe /T
|
||||
}
|
||||
else {
|
||||
$Ansible.Changed = $false
|
||||
}
|
||||
|
||||
- name: Stop Tinkerd before install (jumpserver)
|
||||
ansible.windows.win_powershell:
|
||||
script: |
|
||||
if (Get-Service -Name 'JumpServer Tinker' -ErrorAction SilentlyContinue) {
|
||||
|
Loading…
Reference in New Issue
Block a user