From 3ddf1d550f7578375f0669e0775c6a949cf529c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C5=A1per=20Fele-=C5=BDor=C5=BE?= Date: Tue, 12 Sep 2023 14:14:11 +0200 Subject: [PATCH] Dodane manjkajoce zahteve za SU-63519 --- roles/linroom/tasks/JDK.yml | 32 ----------------------------- roles/linroom/tasks/pandas.yml | 7 +++++++ roles/linroom/tasks/pytorch.yml | 8 ++++++++ roles/linroom/tasks/scipy.yml | 7 +++++++ roles/linroom/tasks/statsmodels.yml | 6 ++++++ roles/linroom/tasks/tensorflow.yml | 4 ++++ roles/linroom/tasks/vlc.yml | 4 ++++ roles/linroom/tasks/xgboost.yml | 7 +++++++ roles/winroom/tasks/jlink.yml | 4 ++++ roles/winroom/tasks/maven.yml | 4 ++++ roles/winroom/tasks/nodejs.yml | 14 +++++++++++++ roles/winroom/tasks/pytorch.yml | 8 ++++++++ roles/winroom/tasks/scipy.yml | 7 +++++++ roles/winroom/tasks/sifive.yml | 4 ++++ roles/winroom/tasks/statsmodels.yml | 6 ++++++ roles/winroom/tasks/tensorflow.yml | 4 ++++ roles/winroom/tasks/xgboost.yml | 7 +++++++ 17 files changed, 101 insertions(+), 32 deletions(-) delete mode 100644 roles/linroom/tasks/JDK.yml create mode 100644 roles/linroom/tasks/pandas.yml create mode 100644 roles/linroom/tasks/pytorch.yml create mode 100644 roles/linroom/tasks/scipy.yml create mode 100644 roles/linroom/tasks/statsmodels.yml create mode 100644 roles/linroom/tasks/tensorflow.yml create mode 100644 roles/linroom/tasks/vlc.yml create mode 100644 roles/linroom/tasks/xgboost.yml create mode 100644 roles/winroom/tasks/jlink.yml create mode 100644 roles/winroom/tasks/maven.yml create mode 100644 roles/winroom/tasks/nodejs.yml create mode 100644 roles/winroom/tasks/pytorch.yml create mode 100644 roles/winroom/tasks/scipy.yml create mode 100644 roles/winroom/tasks/sifive.yml create mode 100644 roles/winroom/tasks/statsmodels.yml create mode 100644 roles/winroom/tasks/tensorflow.yml create mode 100644 roles/winroom/tasks/xgboost.yml diff --git a/roles/linroom/tasks/JDK.yml b/roles/linroom/tasks/JDK.yml deleted file mode 100644 index c393c2f..0000000 --- a/roles/linroom/tasks/JDK.yml +++ /dev/null @@ -1,32 +0,0 @@ -- name: Install OpenJDK 18 - apt: - name: openjdk-18-jdk - state: latest - -- name: Install OpenJDK 19 - apt: - name: openjdk-19-jdk - state: latest - -- name: Install OpenJDK 11 - apt: - name: openjdk-11-jdk - state: latest - -- name: Install default JDK - apt: - name: default-jdk - state: latest - - -- name: Install Oracle Java dependencies - apt: - name: - - libc6-i386 - - libc6-x32 - state: latest - -- name: Install Oracle JDK 20 - apt: - deb: "https://download.oracle.com/java/20/latest/jdk-20_linux-x64_bin.deb" - diff --git a/roles/linroom/tasks/pandas.yml b/roles/linroom/tasks/pandas.yml new file mode 100644 index 0000000..9c26095 --- /dev/null +++ b/roles/linroom/tasks/pandas.yml @@ -0,0 +1,7 @@ +- name: Install python3-pandas + apt: + name: + - python3-pandas + - python3-sklearn-pandas + state: latest + diff --git a/roles/linroom/tasks/pytorch.yml b/roles/linroom/tasks/pytorch.yml new file mode 100644 index 0000000..992b04e --- /dev/null +++ b/roles/linroom/tasks/pytorch.yml @@ -0,0 +1,8 @@ +- name: Install pytorch + apt: + name: + - python3-torch + - python3-skorch + - python3-torch-ignite + state: latest + diff --git a/roles/linroom/tasks/scipy.yml b/roles/linroom/tasks/scipy.yml new file mode 100644 index 0000000..df18069 --- /dev/null +++ b/roles/linroom/tasks/scipy.yml @@ -0,0 +1,7 @@ +- name: Install python3-scipy, scikit-learn + apt: + name: + - python3-scipy + - python3-sklearn + state: latest + diff --git a/roles/linroom/tasks/statsmodels.yml b/roles/linroom/tasks/statsmodels.yml new file mode 100644 index 0000000..ff72e37 --- /dev/null +++ b/roles/linroom/tasks/statsmodels.yml @@ -0,0 +1,6 @@ +- name: Install statsmodels + apt: + name: + - python3-statsmodels + state: latest + diff --git a/roles/linroom/tasks/tensorflow.yml b/roles/linroom/tasks/tensorflow.yml new file mode 100644 index 0000000..e7cb907 --- /dev/null +++ b/roles/linroom/tasks/tensorflow.yml @@ -0,0 +1,4 @@ +- name: Install tensorflow + pip: + executable: pip3 + name: tensorflow diff --git a/roles/linroom/tasks/vlc.yml b/roles/linroom/tasks/vlc.yml new file mode 100644 index 0000000..58c2b91 --- /dev/null +++ b/roles/linroom/tasks/vlc.yml @@ -0,0 +1,4 @@ +- name: Install VLC + apt: + name: vlc + state: latest diff --git a/roles/linroom/tasks/xgboost.yml b/roles/linroom/tasks/xgboost.yml new file mode 100644 index 0000000..7046677 --- /dev/null +++ b/roles/linroom/tasks/xgboost.yml @@ -0,0 +1,7 @@ +- name: Install xgboost + apt: + name: + - xgboost + - python3-xgboost + state: latest + diff --git a/roles/winroom/tasks/jlink.yml b/roles/winroom/tasks/jlink.yml new file mode 100644 index 0000000..8b07e12 --- /dev/null +++ b/roles/winroom/tasks/jlink.yml @@ -0,0 +1,4 @@ +- name: Install Segger JLink + win_package: + path: https://www.segger.com/downloads/jlink/JLink_Windows_V792d_x86_64.exe + arguments: /S diff --git a/roles/winroom/tasks/maven.yml b/roles/winroom/tasks/maven.yml new file mode 100644 index 0000000..cff5d45 --- /dev/null +++ b/roles/winroom/tasks/maven.yml @@ -0,0 +1,4 @@ +- name: Install maven + apt: + name: maven + state: latest diff --git a/roles/winroom/tasks/nodejs.yml b/roles/winroom/tasks/nodejs.yml new file mode 100644 index 0000000..f94b808 --- /dev/null +++ b/roles/winroom/tasks/nodejs.yml @@ -0,0 +1,14 @@ +- name: Add NodeJS repo key + apt_key: + url: https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key + keyring: /etc/apt/keyrings/nodesource.gpg + +- name: Add NodeJS repo url + apt_repository: + repo: "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" + +- name: Install NodeJS + apt: + name: nodejs + state: latest + diff --git a/roles/winroom/tasks/pytorch.yml b/roles/winroom/tasks/pytorch.yml new file mode 100644 index 0000000..992b04e --- /dev/null +++ b/roles/winroom/tasks/pytorch.yml @@ -0,0 +1,8 @@ +- name: Install pytorch + apt: + name: + - python3-torch + - python3-skorch + - python3-torch-ignite + state: latest + diff --git a/roles/winroom/tasks/scipy.yml b/roles/winroom/tasks/scipy.yml new file mode 100644 index 0000000..df18069 --- /dev/null +++ b/roles/winroom/tasks/scipy.yml @@ -0,0 +1,7 @@ +- name: Install python3-scipy, scikit-learn + apt: + name: + - python3-scipy + - python3-sklearn + state: latest + diff --git a/roles/winroom/tasks/sifive.yml b/roles/winroom/tasks/sifive.yml new file mode 100644 index 0000000..0a887bd --- /dev/null +++ b/roles/winroom/tasks/sifive.yml @@ -0,0 +1,4 @@ +# SiFive je bil nekoc prosto dostopen. +# Sedaj hocejo, da se registriras... da prides do kode +# Potem pa ti ne dajo izvorne kode. +# ucilnice_install/2022-23/ORS_VGRS_Bulic diff --git a/roles/winroom/tasks/statsmodels.yml b/roles/winroom/tasks/statsmodels.yml new file mode 100644 index 0000000..ff72e37 --- /dev/null +++ b/roles/winroom/tasks/statsmodels.yml @@ -0,0 +1,6 @@ +- name: Install statsmodels + apt: + name: + - python3-statsmodels + state: latest + diff --git a/roles/winroom/tasks/tensorflow.yml b/roles/winroom/tasks/tensorflow.yml new file mode 100644 index 0000000..e7cb907 --- /dev/null +++ b/roles/winroom/tasks/tensorflow.yml @@ -0,0 +1,4 @@ +- name: Install tensorflow + pip: + executable: pip3 + name: tensorflow diff --git a/roles/winroom/tasks/xgboost.yml b/roles/winroom/tasks/xgboost.yml new file mode 100644 index 0000000..7046677 --- /dev/null +++ b/roles/winroom/tasks/xgboost.yml @@ -0,0 +1,7 @@ +- name: Install xgboost + apt: + name: + - xgboost + - python3-xgboost + state: latest +