|
|
@ -168,14 +168,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: Download chromedriver (Chrome)
|
|
|
|
- name: Download chromedriver (Chrome)
|
|
|
|
ansible.windows.win_get_url:
|
|
|
|
ansible.windows.win_get_url:
|
|
|
|
url: "{{ APPLET_DOWNLOAD_HOST }}/download/applets/chromedriver_win32.zip"
|
|
|
|
url: "{{ APPLET_DOWNLOAD_HOST }}/download/applets/chromedriver-win64.zip"
|
|
|
|
dest: "{{ ansible_env.TEMP }}\\chromedriver-win32.zip"
|
|
|
|
dest: "{{ ansible_env.TEMP }}\\chromedriver-win64.zip"
|
|
|
|
validate_certs: "{{ not IGNORE_VERIFY_CERTS }}"
|
|
|
|
validate_certs: "{{ not IGNORE_VERIFY_CERTS }}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Unzip chromedriver (Chrome)
|
|
|
|
- name: Unzip chromedriver (Chrome)
|
|
|
|
community.windows.win_unzip:
|
|
|
|
community.windows.win_unzip:
|
|
|
|
src: "{{ ansible_env.TEMP }}\\chromedriver-win32.zip"
|
|
|
|
src: "{{ ansible_env.TEMP }}\\chromedriver-win64.zip"
|
|
|
|
dest: C:\Program Files\JumpServer\drivers\chromedriver-win32
|
|
|
|
dest: C:\Program Files\JumpServer\drivers
|
|
|
|
|
|
|
|
|
|
|
|
- name: Stop Chrome before install (jumpserver)
|
|
|
|
- name: Stop Chrome before install (jumpserver)
|
|
|
|
ansible.windows.win_powershell:
|
|
|
|
ansible.windows.win_powershell:
|
|
|
@ -201,6 +201,7 @@
|
|
|
|
- name: Check and Clean global system path (Chrome)
|
|
|
|
- name: Check and Clean global system path (Chrome)
|
|
|
|
ansible.windows.win_path:
|
|
|
|
ansible.windows.win_path:
|
|
|
|
elements:
|
|
|
|
elements:
|
|
|
|
|
|
|
|
- 'C:\Program Files\JumpServer\drivers\chromedriver-win32'
|
|
|
|
- '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-win32'
|
|
|
|
- 'C:\Program Files\Chrome\chrome-win'
|
|
|
|
- 'C:\Program Files\Chrome\chrome-win'
|
|
|
@ -211,7 +212,7 @@
|
|
|
|
ansible.windows.win_path:
|
|
|
|
ansible.windows.win_path:
|
|
|
|
elements:
|
|
|
|
elements:
|
|
|
|
- 'C:\Program Files\JumpServer\applications\Chrome\Application'
|
|
|
|
- '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)
|
|
|
|
- name: Set Chrome variables disable Google Api (Chrome)
|
|
|
|
ansible.windows.win_environment:
|
|
|
|
ansible.windows.win_environment:
|
|
|
|