Skip to content

Commit

Permalink
update firefox download url for different windows
Browse files Browse the repository at this point in the history
Signed-off-by: linhuali <lli@vmware.com>
  • Loading branch information
linhuali committed Nov 24, 2023
1 parent 88bb970 commit 8d49333
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion desktop_hypervisor/windows/dh_vmrun/browser_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@
ansible.builtin.set_fact:
vmrun_with_powershell: '"{{ dh_host_vmrun_path }}" -T ws -gu {{ dh_vm_username }} -gp {{ dh_vm_password }} runProgramInGuest "{{ dh_vm_vmx_path }}" -activeWindow {{ powershell_path }}'

- name: "Initialize facts for firefox_url"
- name: "Initialize facts for firefox_url in {{ dh_guest_id }}"
ansible.builtin.set_fact:
firefox_url: 'https://download.mozilla.org/?product=firefox-latest&os=win&lang=en-US'
when: dh_guest_id is not match('windows(7|8).*')

- name: "Initialize facts for firefox_url in {{ dh_guest_id }}"
ansible.builtin.set_fact:
firefox_url: 'https://download.mozilla.org/?product=firefox-115.0.3-ssl&os=win&lang=en-US'
when: dh_guest_id is match('windows(7|8).*')

- name: "Download firefox in Windows host"
block:
Expand Down

0 comments on commit 8d49333

Please sign in to comment.