From 864da49ae6e13f55c3ea564c0ddc9abb1cfe9459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Wed, 1 Nov 2023 18:10:03 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=9B=B4=E6=96=B0=20chrome=20=E5=92=8C?= =?UTF-8?q?=20chromedriver?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../automations/deploy_applet_host/playbook.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/terminal/automations/deploy_applet_host/playbook.yml b/apps/terminal/automations/deploy_applet_host/playbook.yml index 0c0ad4f3d..84189eed0 100644 --- a/apps/terminal/automations/deploy_applet_host/playbook.yml +++ b/apps/terminal/automations/deploy_applet_host/playbook.yml @@ -168,14 +168,14 @@ - name: Download chromedriver (Chrome) ansible.windows.win_get_url: - url: "{{ APPLET_DOWNLOAD_HOST }}/download/applets/chromedriver_win32.zip" - dest: "{{ ansible_env.TEMP }}\\chromedriver-win32.zip" + url: "{{ APPLET_DOWNLOAD_HOST }}/download/applets/chromedriver-win64.zip" + dest: "{{ ansible_env.TEMP }}\\chromedriver-win64.zip" validate_certs: "{{ not IGNORE_VERIFY_CERTS }}" - name: Unzip chromedriver (Chrome) community.windows.win_unzip: - src: "{{ ansible_env.TEMP }}\\chromedriver-win32.zip" - dest: C:\Program Files\JumpServer\drivers\chromedriver-win32 + src: "{{ ansible_env.TEMP }}\\chromedriver-win64.zip" + dest: C:\Program Files\JumpServer\drivers - name: Stop Chrome before install (jumpserver) ansible.windows.win_powershell: @@ -201,6 +201,7 @@ - name: Check and Clean global system path (Chrome) ansible.windows.win_path: elements: + - 'C:\Program Files\JumpServer\drivers\chromedriver-win32' - 'C:\Program Files\JumpServer\drivers\chromedriver_win32' - 'C:\Program Files\Chrome\chrome-win32' - 'C:\Program Files\Chrome\chrome-win' @@ -211,7 +212,7 @@ ansible.windows.win_path: elements: - 'C:\Program Files\JumpServer\applications\Chrome\Application' - - 'C:\Program Files\JumpServer\drivers\chromedriver-win32' + - 'C:\Program Files\JumpServer\drivers\chromedriver-win64' - name: Set Chrome variables disable Google Api (Chrome) ansible.windows.win_environment: