mirror of https://github.com/jumpserver/jumpserver
perf: 移除旧版本 Chrome 文件
parent
af33ad6631
commit
78e9f51786
|
@ -172,6 +172,16 @@
|
|||
dest: "{{ ansible_env.TEMP }}\\chromedriver-win64.zip"
|
||||
validate_certs: "{{ not IGNORE_VERIFY_CERTS }}"
|
||||
|
||||
- name: Remove old chromedriver (Chrome)
|
||||
ansible.windows.win_file:
|
||||
path: "{{ item }}"
|
||||
state: absent
|
||||
with_items:
|
||||
- C:\Program Files\JumpServer\drivers\chromedriver-win32
|
||||
- C:\Program Files\JumpServer\drivers\chromedriver_win32
|
||||
- C:\Program Files\JumpServer\drivers\chromedriver-win64
|
||||
- C:\Program Files\JumpServer\drivers\chromedriver_win64
|
||||
|
||||
- name: Unzip chromedriver (Chrome)
|
||||
community.windows.win_unzip:
|
||||
src: "{{ ansible_env.TEMP }}\\chromedriver-win64.zip"
|
||||
|
@ -193,6 +203,16 @@
|
|||
dest: "{{ ansible_env.TEMP }}\\chrome-win.zip"
|
||||
validate_certs: "{{ not IGNORE_VERIFY_CERTS }}"
|
||||
|
||||
- name: Remove old Chrome (Chrome)
|
||||
ansible.windows.win_file:
|
||||
path: "{{ item }}"
|
||||
state: absent
|
||||
with_items:
|
||||
- C:\Program Files\JumpServer\applications\Chrome
|
||||
- C:\Program Files\Chrome\chrome-win32
|
||||
- C:\Program Files\Chrome\chrome-win
|
||||
- C:\Program Files\chrome-win
|
||||
|
||||
- name: Unzip Chrome (Chrome)
|
||||
community.windows.win_unzip:
|
||||
src: "{{ ansible_env.TEMP }}\\chrome-win.zip"
|
||||
|
|
Loading…
Reference in New Issue