perf: 更新 chrome 和 chromedriver

pull/12011/head
吴小白 1 year ago
parent e6b8b3982d
commit 864da49ae6

@ -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:

Loading…
Cancel
Save