From 67154de88a13a611fa5e10dac71fe9144d0b0a64 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 28 Sep 2022 09:28:22 +0000 Subject: [PATCH] Fix Arduino IDE install --- roles/winroom/tasks/arduino.yml | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/roles/winroom/tasks/arduino.yml b/roles/winroom/tasks/arduino.yml index 2446c44..566f229 100644 --- a/roles/winroom/tasks/arduino.yml +++ b/roles/winroom/tasks/arduino.yml @@ -1,27 +1,7 @@ -# TODO fix this - name: Install Arduino IDE win_package: - path: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.0_Windows_64bit.msi - arguments: "ALLUSERS=1" + path: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.0_Windows_64bit.exe + arguments: /S /AllUsers + creates_path: "%ProgramFiles%\\Arduino IDE\\Arduino IDE.exe" - #- name: Check Arduino IDE install status - # win_stat: - # path: C:\Program Files (x86)\Thonny\thonny.exeee - # register: file - # - #- when: not file.stat.exists - # block: - # # win_package fails to download for some reason - # - name: Download Arduino IDE - # win_get_url: - # url: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.0_Windows_64bit.msi - # dest: C:\ - # register: download - # - # - name: Install Arduino IDE - # win_command: cmd.exe /k {{ download.dest }} /quiet /qn - # - # - name: Remove temporary files - # win_file: - # path: "{{ download.dest }}" - # state: absent +# TODO check if anything else is needed (esp8266com)?