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)?