winroom: add javafx
This commit is contained in:
parent
4bbf015cb7
commit
f22807b136
|
@ -1 +1,20 @@
|
|||
# TODO
|
||||
- name: Check javafx install
|
||||
win_find:
|
||||
paths: "C:\\Program Files\\Java"
|
||||
patterns: ['javafx-sdk-*']
|
||||
file_type: directory
|
||||
register: install
|
||||
|
||||
- when: install.matched == 0
|
||||
block:
|
||||
- name: Download javafx
|
||||
win_get_url:
|
||||
url: https://download2.gluonhq.com/openjfx/19/openjfx-19_windows-x64_bin-sdk.zip
|
||||
dest: C:\
|
||||
register: download
|
||||
|
||||
- name: Install javafx
|
||||
win_unzip:
|
||||
src: "{{ download.dest }}"
|
||||
dest: "%ProgramFiles%\\Java"
|
||||
delete_archive: yes
|
||||
|
|
Loading…
Reference in a new issue