classroom/roles/arduino/tasks/main_win.yml

17 lines
684 B
YAML

- name: Install Arduino IDE
win_package:
# path: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.0_Windows_64bit.exe
path: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.2.1_Windows_64bit.exe
arguments: /S /AllUsers
creates_path: "%ProgramFiles%\\Arduino IDE\\Arduino IDE.exe"
- name: Install Arduino-cli
win_package:
# path: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.0_Windows_64bit.exe
path: https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Windows_64bit.zip
arguments: /S /AllUsers
# creates_path: "%ProgramFiles%\\Arduino IDE\\Arduino IDE.exe"
# TODO check if anything else is needed (esp8266com)?