perf: update applet download and deployment

This commit is contained in:
Eric
2023-02-01 10:27:12 +08:00
parent fa6d819f10
commit 142edd9438
4 changed files with 27 additions and 21 deletions

View File

@@ -129,7 +129,7 @@ class Asset(DictObj):
address: str
protocols: list[Protocol]
category: Category
specific: Specific
spec_info: Specific
def get_protocol_port(self, protocol):
for item in self.protocols:

View File

@@ -1,11 +1,11 @@
import abc
import subprocess
import base64
import json
import locale
import os
import subprocess
import sys
import time
import os
import json
import base64
from subprocess import CREATE_NO_WINDOW
_blockInput = None
@@ -125,7 +125,7 @@ class Asset(DictObj):
address: str
protocols: list[Protocol]
category: Category
specific: Specific
spec_info: Specific
def get_protocol_port(self, protocol):
for item in self.protocols:

View File

@@ -13,7 +13,7 @@
RDS_fSingleSessionPerUser: 1
RDS_MaxDisconnectionTime: 60000
RDS_RemoteAppLogoffTimeLimit: 0
TinkerInstaller: Tinker_Installer_v0.0.1.exe
TinkerInstaller: Tinker_Installer.exe
tasks:
- name: Install RDS-Licensing (RDS)
@@ -151,6 +151,18 @@
state: present
arguments:
- /quiet
-
- name: Download navicat161_premium_en package (navicat)
ansible.windows.win_get_url:
url: "{{ APPLET_DOWNLOAD_HOST }}/download/applets/navicat161_premium_en_x64.exe"
dest: "{{ ansible_env.TEMP }}\\navicat161_premium_en_x64.exe"
- name: Install navicat (navicat)
ansible.windows.win_package:
path: "{{ ansible_env.TEMP }}\\navicat161_premium_en_x64.exe"
state: present
arguments:
- /SILENT
- name: Generate tinkerd component config
ansible.windows.win_shell: