classroom/roles/eclipse/tasks/main_win.yml
2023-09-11 22:30:48 +02:00

15 lines
422 B
YAML

- name: Set Eclipse version
set_fact:
target_version: "4.25"
- name: Install Eclipse
win_chocolatey:
name: eclipse
version: "{{ target_version }}"
- name: Set up default directories for Eclipse
win_lineinfile:
path: "%ProgramFiles%\\Eclipse {{ target_version }}\\eclipse\\eclipse.ini"
regexp: "osgi.instance.area.default"
line: "-Dosgi.instance.area.default=H:/Documents/eclipse-workspace"