forked from rc/classroom
Minor fixes for deprecated and new packages
This commit is contained in:
parent
2c22dcceaf
commit
5954f4e3ba
3 changed files with 63 additions and 56 deletions
|
@ -1,31 +1,34 @@
|
||||||
# TODO check install status
|
# Deprecated - replace by mems-studio
|
||||||
|
- name: Do not install AlgoBuilder
|
||||||
|
debug:
|
||||||
|
msg: "Do not install AlgoBuilder on Windows - deprecated"
|
||||||
# TODO: Exe file is missing - Problem on ST site
|
# TODO: Exe file is missing - Problem on ST site
|
||||||
- name: Check AlgoBuilder install status
|
# - name: Check AlgoBuilder install status
|
||||||
win_stat:
|
# win_stat:
|
||||||
path: C:\Program Files (x86)\Thonny\thonny.exe
|
# path: C:\Program Files (x86)\Thonny\thonny.exe
|
||||||
register: file
|
# register: file
|
||||||
|
|
||||||
- when: not file.stat.exists
|
# - when: not file.stat.exists
|
||||||
block:
|
# block:
|
||||||
- name: Download AlgoBuilder
|
# - name: Download AlgoBuilder
|
||||||
win_command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EdBQJN3I6fVFj7qgs6SjRp4BZ0QbWIV26NUlLv_4d9JsDQ?e=hA4Cbl&download=1" -O C:\AlgoBuilderSuite.exe
|
# win_command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EdBQJN3I6fVFj7qgs6SjRp4BZ0QbWIV26NUlLv_4d9JsDQ?e=hA4Cbl&download=1" -O C:\AlgoBuilderSuite.exe
|
||||||
args:
|
# args:
|
||||||
creates: C:\AlgoBuilderSuite.exe
|
# creates: C:\AlgoBuilderSuite.exe
|
||||||
#win_get_url:
|
# #win_get_url:
|
||||||
# follow_redirects: all
|
# # follow_redirects: all
|
||||||
# http_agent: Wget/1.21.3
|
# # http_agent: Wget/1.21.3
|
||||||
# url: https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EdBQJN3I6fVFj7qgs6SjRp4BZ0QbWIV26NUlLv_4d9JsDQ?e=hA4Cbl?download=1
|
# # url: https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EdBQJN3I6fVFj7qgs6SjRp4BZ0QbWIV26NUlLv_4d9JsDQ?e=hA4Cbl?download=1
|
||||||
# dest: C:\AlgoBuilderSuite.exe
|
# # dest: C:\AlgoBuilderSuite.exe
|
||||||
#register: download
|
# #register: download
|
||||||
|
|
||||||
- name: Install AlgoBuilder
|
# - name: Install AlgoBuilder
|
||||||
win_package:
|
# win_package:
|
||||||
path: C:\AlgoBuilderSuite.exe
|
# path: C:\AlgoBuilderSuite.exe
|
||||||
# path: "{{ download.dest }}"
|
# # path: "{{ download.dest }}"
|
||||||
arguments: /Verysilent /AllUsers
|
# arguments: /Verysilent /AllUsers
|
||||||
|
|
||||||
- name: Remove temporary files
|
# - name: Remove temporary files
|
||||||
win_file:
|
# win_file:
|
||||||
path: C:\AlgoBuilderSuite.exe
|
# path: C:\AlgoBuilderSuite.exe
|
||||||
# path: "{{ download.dest }}"
|
# # path: "{{ download.dest }}"
|
||||||
state: absent
|
# state: absent
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
- name: Do not install UnicleoGUI
|
- name: Do not install mems-studio
|
||||||
debug:
|
debug:
|
||||||
msg: "Do not install UnicleoGUI on Linux"
|
msg: "Do not install mems-studio on Linux"
|
||||||
|
|
||||||
|
|
|
@ -1,31 +1,35 @@
|
||||||
# TODO check install status
|
# Deprecated - replace by mems-studio
|
||||||
- name: Check UnicleoGUI install status
|
- name: Do not install UnicleoGUI
|
||||||
win_stat:
|
debug:
|
||||||
path: C:\Program Files (x86)\STMicroelectronics\Unicleo-GUI\Unicleo-GUI.exe
|
msg: "Do not install UnicleoGUI on Windows - deprecated"
|
||||||
register: file
|
# # TODO check install status
|
||||||
- when: not file.stat.exists
|
# - name: Check UnicleoGUI install status
|
||||||
block:
|
# win_stat:
|
||||||
- name: Download UnicleoGUI
|
# path: C:\Program Files (x86)\STMicroelectronics\Unicleo-GUI\Unicleo-GUI.exe
|
||||||
win_command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EQG4vStF7ApBsN2TDm5AjGQBiU0iFbZZiz91UqGeHKX9FA?e=QOQky2&download=1" -O C:\Unicleo-GUI_Setup.exe
|
# register: file
|
||||||
args:
|
# - when: not file.stat.exists
|
||||||
creates: C:\Unicleo-GUI_Setup.exe
|
# block:
|
||||||
#win_get_url:
|
# - name: Download UnicleoGUI
|
||||||
# follow_redirects: all
|
# win_command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EQG4vStF7ApBsN2TDm5AjGQBiU0iFbZZiz91UqGeHKX9FA?e=QOQky2&download=1" -O C:\Unicleo-GUI_Setup.exe
|
||||||
# http_agent: Wget/1.21.3
|
# args:
|
||||||
# url: https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EQG4vStF7ApBsN2TDm5AjGQBiU0iFbZZiz91UqGeHKX9FA?e=QOQky2?download=1
|
# creates: C:\Unicleo-GUI_Setup.exe
|
||||||
# dest: C:\Unicleo-GUI_Setup.exe
|
# #win_get_url:
|
||||||
#register: download
|
# # follow_redirects: all
|
||||||
|
# # http_agent: Wget/1.21.3
|
||||||
|
# # url: https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EQG4vStF7ApBsN2TDm5AjGQBiU0iFbZZiz91UqGeHKX9FA?e=QOQky2?download=1
|
||||||
|
# # dest: C:\Unicleo-GUI_Setup.exe
|
||||||
|
# #register: download
|
||||||
|
|
||||||
- name: Install UnicleoGUI
|
# - name: Install UnicleoGUI
|
||||||
win_package:
|
# win_package:
|
||||||
path: C:\Unicleo-GUI_Setup.exe
|
# path: C:\Unicleo-GUI_Setup.exe
|
||||||
# path: "{{ download.dest }}"
|
# # path: "{{ download.dest }}"
|
||||||
arguments: /Verysilent /AllUsers
|
# arguments: /Verysilent /AllUsers
|
||||||
|
|
||||||
- name: Remove temporary files
|
# - name: Remove temporary files
|
||||||
win_file:
|
# win_file:
|
||||||
path: C:\Unicleo-GUI_Setup.exe
|
# path: C:\Unicleo-GUI_Setup.exe
|
||||||
# path: "{{ download.dest }}"
|
# # path: "{{ download.dest }}"
|
||||||
state: absent
|
# state: absent
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue