diff --git a/roles/linroom/tasks/Android_Studio.yml b/roles/linroom/tasks/Android_Studio.yml index 3e8491c..4e21007 100644 --- a/roles/linroom/tasks/Android_Studio.yml +++ b/roles/linroom/tasks/Android_Studio.yml @@ -7,5 +7,6 @@ - name: Download and unpack Android Studio unarchive: src: https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2021.3.1.16/android-studio-2021.3.1.16-linux.tar.gz + creates: /opt/Android_Studio/android-studio/build.txt dest: /opt/Android_Studio remote_src: yes diff --git a/roles/linroom/tasks/Eclipse.yml b/roles/linroom/tasks/Eclipse.yml index ef74e91..1bba73f 100644 --- a/roles/linroom/tasks/Eclipse.yml +++ b/roles/linroom/tasks/Eclipse.yml @@ -2,6 +2,7 @@ community.general.snap: name: - eclipse + classic: true # - name: Install Eclipse from tarball # block: # - name: Create destination for Eclipse diff --git a/roles/linroom/tasks/GUI_development.yml b/roles/linroom/tasks/GUI_development.yml index ab38cc8..4e6f5e5 100644 --- a/roles/linroom/tasks/GUI_development.yml +++ b/roles/linroom/tasks/GUI_development.yml @@ -1 +1,55 @@ -# TODO install X11 development, Wayland development, gtk+ development, glade, python +- name: Install X11 development + block: + - name: Install libx11-dev + apt: + name: libx11-dev + state: latest + - name: Install libxext-dev + apt: + name: libxext-dev + state: latest + - name: Install xutils + apt: + name: x11-utils + state: latest +- name: Install GTK development + block: + - name: Install libgtk-4-dev + apt: + name: libgtk-4-dev + state: latest + - name: Install libgtk-3-dev + apt: + name: libgtk-3-dev + state: latest + - name: Install libgtkmm-3.0-dev + apt: + name: libgtkmm-3.0-dev + state: latest + +- name: Install Wayland development + block: + - name: Install libwayland-dev + apt: + name: libwayland-dev + state: latest + - name: Install libwlroots-dev + apt: + name: libwlroots-dev + state: latest + - name: Install qt6-wayland-dev + apt: + name: qt6-wayland-dev + state: latest + - name: Install qt6-wayland-dev-tools + apt: + name: qt6-wayland-dev-tools + state: latest +- name: Install Glade + apt: + name: glade + state: latest +- name: Install QT Creator + apt: + name: qtcreator + state: latest diff --git a/roles/linroom/tasks/IDEA.yml b/roles/linroom/tasks/IDEA.yml index 97e0da8..3735f35 100644 --- a/roles/linroom/tasks/IDEA.yml +++ b/roles/linroom/tasks/IDEA.yml @@ -1 +1,12 @@ -# TODO: poskrbi za install +- name: Install IDEA + block: + - name: Create destination for JetBrains IDEA + file: + path: /opt/IDEA + state: directory + - name: Download and unpack JetBrains IDEA + unarchive: + src: https://download.jetbrains.com/idea/ideaIE-2022.2.tar.gz + dest: /opt/IDEA + creates: /opt/IDEA/idea-IE-222.3345.148/build.txt + remote_src: yes diff --git a/roles/linroom/tasks/OS-63741.yml b/roles/linroom/tasks/OS-63741.yml index 4d5e31d..9e56fad 100644 --- a/roles/linroom/tasks/OS-63741.yml +++ b/roles/linroom/tasks/OS-63741.yml @@ -1,3 +1,6 @@ # Odločitveni sistemi # Martin.Mozina@fri.uni-lj.si # Windows +- name: Odlocitveni sistemi + debug: + msg: "Odločitveni sistemi 63741 - brez zahtev" diff --git a/roles/linroom/tasks/SML_NJ.yml b/roles/linroom/tasks/SML_NJ.yml index 9354511..7096389 100644 --- a/roles/linroom/tasks/SML_NJ.yml +++ b/roles/linroom/tasks/SML_NJ.yml @@ -1,13 +1,13 @@ -name: Install SML/NJ -apt: - name: smlnj - state: latest -name: Install SML/NJ -apt: - name: smlnj - state: latest -name: Install Emacs extension for SML -apt: - name: elpa-sml-mode - state: latest +- name: Install SML/NJ + apt: + name: smlnj + state: latest +- name: Install SML/NJ + apt: + name: smlnj + state: latest +- name: Install Emacs extension for SML + apt: + name: elpa-sml-mode + state: latest diff --git a/roles/linroom/tasks/UZ-63267.yml b/roles/linroom/tasks/UZ-63267.yml index 5102be7..ee2c984 100644 --- a/roles/linroom/tasks/UZ-63267.yml +++ b/roles/linroom/tasks/UZ-63267.yml @@ -1,3 +1,4 @@ # Umetno zaznavanje # jon.muhovic@fe.uni-lj.si # Python3, Python 3 +- include_tasks: python3.yml diff --git a/roles/linroom/tasks/XAMPP.yml b/roles/linroom/tasks/XAMPP.yml index e17e8c0..4a7facf 100644 --- a/roles/linroom/tasks/XAMPP.yml +++ b/roles/linroom/tasks/XAMPP.yml @@ -1 +1,3 @@ -# TODO install XAMPP +- name: Install XAMPP + debug: + msg: Namesto XAMPP bi verjetno LAMP? diff --git a/roles/linroom/tasks/audacity.yml b/roles/linroom/tasks/audacity.yml index 367c386..1481dd7 100644 --- a/roles/linroom/tasks/audacity.yml +++ b/roles/linroom/tasks/audacity.yml @@ -1,4 +1,5 @@ -name: Install Audacity +- name: Install Audacity apt: name: audacity state: latest + diff --git a/roles/linroom/tasks/bayesfusion.yml b/roles/linroom/tasks/bayesfusion.yml index e6a0129..d6903b4 100644 --- a/roles/linroom/tasks/bayesfusion.yml +++ b/roles/linroom/tasks/bayesfusion.yml @@ -1 +1,10 @@ # TODO install BayesFusion.yml +# https://download.bayesfusion.com/files.html?category=Academia#GeNIe +- name: Install Wine + apt: + name: wine-development + state: latest +- name: Install Wine binfmt support + apt: + name: wine-binfmt + state: latest diff --git a/roles/linroom/tasks/blender.yml b/roles/linroom/tasks/blender.yml index 0b98742..7a3281e 100644 --- a/roles/linroom/tasks/blender.yml +++ b/roles/linroom/tasks/blender.yml @@ -1,4 +1,4 @@ -name: Install blender -apt: - name: blender - state: latest +- name: Install blender + apt: + name: blender + state: latest diff --git a/roles/linroom/tasks/cmake.yml b/roles/linroom/tasks/cmake.yml new file mode 100644 index 0000000..30bebe4 --- /dev/null +++ b/roles/linroom/tasks/cmake.yml @@ -0,0 +1,4 @@ +- name: Install cmake + apt: + name: cmake + state: latest diff --git a/roles/linroom/tasks/docker.yml b/roles/linroom/tasks/docker.yml index 650ccd0..7daef92 100644 --- a/roles/linroom/tasks/docker.yml +++ b/roles/linroom/tasks/docker.yml @@ -1,23 +1,23 @@ -name: "Install Podman" -apt: - name: podman - state: latest +- name: "Install Podman" + apt: + name: podman + state: latest -name: "Install containerd" -apt: - name: containerd - state: latest +- name: "Install containerd" + apt: + name: containerd + state: latest -name: "Install docker" -apt: - name: docker - state: latest +- name: "Install docker" + apt: + name: docker + state: latest -name: "Install docker-compose" -apt: - name: docker-compose - state: latest +- name: "Install docker-compose" + apt: + name: docker-compose + state: latest # TODO uredi skupine, da bodo studentje lahko docker tudi uporabljali diff --git a/roles/linroom/tasks/dotnet6.yml b/roles/linroom/tasks/dotnet6.yml index a4f7e2f..08fc2da 100644 --- a/roles/linroom/tasks/dotnet6.yml +++ b/roles/linroom/tasks/dotnet6.yml @@ -1,4 +1,4 @@ -name: "Install Dotnet 6.0" -apt: - name: dotnet6 - state: latest +- name: "Install Dotnet 6.0" + apt: + name: dotnet6 + state: latest diff --git a/roles/linroom/tasks/emacs.yml b/roles/linroom/tasks/emacs.yml index 3947e3c..ee13e14 100644 --- a/roles/linroom/tasks/emacs.yml +++ b/roles/linroom/tasks/emacs.yml @@ -1,12 +1,14 @@ -name: Install emacs -apt: - name: emacs - state: latest -name: Install emacs-nox -apt: - name: emacs-nox - state: latest -name: Install emacs-gtk -apt: - name: emacs-gtk - state: latest +- name: Install emacs + apt: + name: emacs + state: latest + +- name: Install emacs-nox + apt: + name: emacs-nox + state: latest + +- name: Install emacs-gtk + apt: + name: emacs-gtk + state: latest diff --git a/roles/linroom/tasks/fri_base.yml b/roles/linroom/tasks/fri_base.yml new file mode 100644 index 0000000..f8b0fb6 --- /dev/null +++ b/roles/linroom/tasks/fri_base.yml @@ -0,0 +1,39 @@ +- name: Install generally useful packages + apt: + name: + - i3 + - sway + - vlc + - mpv + - ffmpeg + - emacs + - kwrite + - kate + - krita + - blender + - pcmanfm-qt + - qutebrowser + - chromium + - firefox + - qemu + - qemu-kvm + - virt-goodies + - virt-manager + - wine-development + - dosbox + - xul-ext-ublock-origin + - chromium-ublock-origin + - nethack-console + - zsh + - tmux + - screen + - curl + state: latest + +- name: Set up additional groups for students + debug: + msg: TODO: add fix + +- name: Set default keyboard layout to SI + debug: + msg: TODO: add fix diff --git a/roles/linroom/tasks/gimp.yml b/roles/linroom/tasks/gimp.yml index 315836a..5461c3e 100644 --- a/roles/linroom/tasks/gimp.yml +++ b/roles/linroom/tasks/gimp.yml @@ -1,4 +1,4 @@ -name: Install GIMP -apt: - name: gimp - state: latest +- name: Install GIMP + apt: + name: gimp + state: latest diff --git a/roles/linroom/tasks/git.yml b/roles/linroom/tasks/git.yml index 15a84f4..5a5a1df 100644 --- a/roles/linroom/tasks/git.yml +++ b/roles/linroom/tasks/git.yml @@ -1,4 +1,4 @@ -name: Install git -apt: - name: git - state: latest +- name: Install git + apt: + name: git + state: latest diff --git a/roles/linroom/tasks/haskell.yml b/roles/linroom/tasks/haskell.yml index 7be5013..a5f4818 100644 --- a/roles/linroom/tasks/haskell.yml +++ b/roles/linroom/tasks/haskell.yml @@ -1,14 +1,14 @@ -name: install Haskell platform -apt: - name: haskell-platform - state: latest +- name: install Haskell platform + apt: + name: haskell-platform + state: latest -name: install Haskell Tool Stack -apt: - name: haskell-stack - state: latest +- name: install Haskell Tool Stack + apt: + name: haskell-stack + state: latest -name: install Haskell compiler -apt: - name: ghc - state: latest +- name: install Haskell compiler + apt: + name: ghc + state: latest diff --git a/roles/linroom/tasks/inkscape.yml b/roles/linroom/tasks/inkscape.yml index 522600a..bb5f749 100644 --- a/roles/linroom/tasks/inkscape.yml +++ b/roles/linroom/tasks/inkscape.yml @@ -1,4 +1,4 @@ -name: Install Inkscape -apt: - name: inkscape - state: latest +- name: Install Inkscape + apt: + name: inkscape + state: latest diff --git a/roles/linroom/tasks/javafx.yml b/roles/linroom/tasks/javafx.yml index 8b811c3..dd530f3 100644 --- a/roles/linroom/tasks/javafx.yml +++ b/roles/linroom/tasks/javafx.yml @@ -1 +1,8 @@ -# TODO install JavaFX +- name: Install JavaFX + apt: + name: openjfx + state: latest +- name: Install JavaFX source + apt: + name: openjfx-source + state: latest diff --git a/roles/linroom/tasks/jupyter.yml b/roles/linroom/tasks/jupyter.yml index 552e731..c0dc1ed 100644 --- a/roles/linroom/tasks/jupyter.yml +++ b/roles/linroom/tasks/jupyter.yml @@ -1,16 +1,16 @@ -name: Install Jupyter -apt: - name: jupyter - state: latest -name: Install Jupyter Console -apt: - name: jupyter-console - state: latest -name: Install Jupyter QT Console -apt: - name: jupyter-qtconsole - state: latest -name: Install Jupyter Notebook -apt: - name: jupyter-notebook - state: latest +- name: Install Jupyter + apt: + name: jupyter + state: latest +- name: Install Jupyter Console + apt: + name: jupyter-console + state: latest +- name: Install Jupyter QT Console + apt: + name: jupyter-qtconsole + state: latest +- name: Install Jupyter Notebook + apt: + name: jupyter-notebook + state: latest diff --git a/roles/linroom/tasks/logisim.yml b/roles/linroom/tasks/logisim.yml index 580a2fa..bb46c19 100644 --- a/roles/linroom/tasks/logisim.yml +++ b/roles/linroom/tasks/logisim.yml @@ -1,3 +1,12 @@ # TODO install logisim for linux - -https://altushost-swe.dl.sourceforge.net/project/circuit/2.7.x/2.7.1/logisim-generic-2.7.1.jar +- name: Install Logisim + block: + - name: Create destination for Logisim + file: + path: /opt/logisim + state: directory + - name: Download and unpack Logisim + unarchive: + src: https://altushost-swe.dl.sourceforge.net/project/circuit/2.7.x/2.7.1/logisim-generic-2.7.1.jar + dest: /opt/logisim + remote_src: yes diff --git a/roles/linroom/tasks/main.yml b/roles/linroom/tasks/main.yml index 534b7af..27268e4 100644 --- a/roles/linroom/tasks/main.yml +++ b/roles/linroom/tasks/main.yml @@ -1,3 +1,4 @@ +- import_tasks: fri_base.yml - import_tasks: AAHRP-63263.yml - import_tasks: APS1-63279.yml - import_tasks: ARP1-63545C.yml diff --git a/roles/linroom/tasks/matlab.yml b/roles/linroom/tasks/matlab.yml index 9566532..13a29e3 100644 --- a/roles/linroom/tasks/matlab.yml +++ b/roles/linroom/tasks/matlab.yml @@ -1,2 +1,6 @@ # TODO: usposobi install Matlaba na D: # TODO: zamenjaj podvojene datoteke s symlinki +- name: Matlab + debug: + msg: "Matlab" + diff --git a/roles/linroom/tasks/mysql-odbc-connector.yml b/roles/linroom/tasks/mysql-odbc-connector.yml index 87d7f26..ec89cef 100644 --- a/roles/linroom/tasks/mysql-odbc-connector.yml +++ b/roles/linroom/tasks/mysql-odbc-connector.yml @@ -1,5 +1,5 @@ -name: Install MariaDB ODBC connector -apt: - name: odbc-mariadb - state: latest +- name: Install MariaDB ODBC connector + apt: + name: odbc-mariadb + state: latest diff --git a/roles/linroom/tasks/mysql_workbench.yml b/roles/linroom/tasks/mysql_workbench.yml index 1db3795..a723425 100644 --- a/roles/linroom/tasks/mysql_workbench.yml +++ b/roles/linroom/tasks/mysql_workbench.yml @@ -1,2 +1,3 @@ -apt: - deb: https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community_8.0.30-1ubuntu22.04_amd64.deb +- name: Install mysql workbench + apt: + deb: https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community_8.0.30-1ubuntu22.04_amd64.deb diff --git a/roles/linroom/tasks/netbeans.yml b/roles/linroom/tasks/netbeans.yml index 2b874a8..89004f8 100644 --- a/roles/linroom/tasks/netbeans.yml +++ b/roles/linroom/tasks/netbeans.yml @@ -1 +1,3 @@ -# TODO install NetBeans +- name: Install NetBeans from .deb + apt: + deb: https://github.com/codelerity/netbeans-installers/releases/download/v15-build1/apache-netbeans_15-1_amd64.deb diff --git a/roles/linroom/tasks/ninja.yml b/roles/linroom/tasks/ninja.yml new file mode 100644 index 0000000..aa207cb --- /dev/null +++ b/roles/linroom/tasks/ninja.yml @@ -0,0 +1,4 @@ +- name: Install Ninja + apt: + name: ninja-build + state: latest diff --git a/roles/linroom/tasks/notepad++.yml b/roles/linroom/tasks/notepad++.yml index 583351f..9e8a653 100644 --- a/roles/linroom/tasks/notepad++.yml +++ b/roles/linroom/tasks/notepad++.yml @@ -1 +1,13 @@ # TODO install Notepad++ +# ansible_os_family: "Windows" / "Debian" +- name: Install notepad++ + debug: + msg: "Install Notepad++" +- name: Install Wine + apt: + name: wine-development + state: latest +- name: Install Wine binfmt support + apt: + name: wine-binfmt + state: latest diff --git a/roles/linroom/tasks/ocaml.yml b/roles/linroom/tasks/ocaml.yml index a22e14e..6695909 100644 --- a/roles/linroom/tasks/ocaml.yml +++ b/roles/linroom/tasks/ocaml.yml @@ -1,5 +1,4 @@ -name: Install Ocaml -apt: - name: ocaml - state: latest -n +- name: Install Ocaml + apt: + name: ocaml + state: latest diff --git a/roles/linroom/tasks/octave.yml b/roles/linroom/tasks/octave.yml index eab007f..0c6f8d0 100644 --- a/roles/linroom/tasks/octave.yml +++ b/roles/linroom/tasks/octave.yml @@ -1,4 +1,4 @@ -name: Install Octave +- name: Install Octave apt: name: octave state: latest diff --git a/roles/linroom/tasks/omnetpp.yml b/roles/linroom/tasks/omnetpp.yml index 45892b0..c65404d 100644 --- a/roles/linroom/tasks/omnetpp.yml +++ b/roles/linroom/tasks/omnetpp.yml @@ -1,22 +1,24 @@ -name: Install OMNet++ +- name: Install OMNet++ block: - - name: Create destination for Omnet++ - file: - path: /opt/omnetpp - - name: Download and unpack Omnet++ - unarchive: - src: https://github.com/omnetpp/omnetpp/releases/download/omnetpp-6.0.1/omnetpp-6.0.1-linux-x86_64.tgz - dest: /opt/omnetpp - remote_src: yes + - name: Create destination for Omnet++ + file: + path: /opt/omnetpp + state: directory + - name: Download and unpack Omnet++ + unarchive: + src: https://github.com/omnetpp/omnetpp/releases/download/omnetpp-6.0.1/omnetpp-6.0.1-linux-x86_64.tgz + dest: /opt/omnetpp + remote_src: yes # TODO install inet system-wide -name: Install INET Framework -block: - - name: Create destination for INET Framework - file: - path: /opt/omnetpp-inet - - name: Download and unpack INET Framework - unarchive: - src: https://github.com/inet-framework/inet/releases/download/v4.4.1/inet-4.4.1-src.tgz - dest: /opt/omnetpp-inet - remote_src: yes +- name: Install INET Framework + block: + - name: Create destination for INET Framework + file: + path: /opt/omnetpp-inet + state: directory + - name: Download and unpack INET Framework + unarchive: + src: https://github.com/inet-framework/inet/releases/download/v4.4.1/inet-4.4.1-src.tgz + dest: /opt/omnetpp-inet + remote_src: yes diff --git a/roles/linroom/tasks/openssl.yml b/roles/linroom/tasks/openssl.yml index a9a6bde..c2de789 100644 --- a/roles/linroom/tasks/openssl.yml +++ b/roles/linroom/tasks/openssl.yml @@ -1,4 +1,4 @@ -name: Install OpenSSL -apt: - name: openssl - state: latest +- name: Install OpenSSL + apt: + name: openssl + state: latest diff --git a/roles/linroom/tasks/orange.yml b/roles/linroom/tasks/orange.yml index df27b52..1ffba8a 100644 --- a/roles/linroom/tasks/orange.yml +++ b/roles/linroom/tasks/orange.yml @@ -1 +1,4 @@ -# TODO install orange +- name: Install orange + pip: + executable: pip3 + name: orange3 diff --git a/roles/linroom/tasks/pelles-c.yml b/roles/linroom/tasks/pelles-c.yml index 3cb827b..15f1a9c 100644 --- a/roles/linroom/tasks/pelles-c.yml +++ b/roles/linroom/tasks/pelles-c.yml @@ -1 +1,12 @@ # TODO install Pelles +- name: Install Pelles + debug: + msg: "Install Pelles-C" +- name: Install Wine + apt: + name: wine-development + state: latest +- name: Install Wine binfmt support + apt: + name: wine-binfmt + state: latest diff --git a/roles/linroom/tasks/powerdesigner.yml b/roles/linroom/tasks/powerdesigner.yml index 906ad02..4f8cb09 100644 --- a/roles/linroom/tasks/powerdesigner.yml +++ b/roles/linroom/tasks/powerdesigner.yml @@ -1 +1,12 @@ # TODO install PowerDesigner +- name: PowerDesigner + debug: + msg: "Install PowerDesigner" +- name: Install Wine + apt: + name: wine-development + state: latest +- name: Install Wine binfmt support + apt: + name: wine-binfmt + state: latest diff --git a/roles/linroom/tasks/projectlibre.yml b/roles/linroom/tasks/projectlibre.yml index ef2ab5c..e06f1c5 100644 --- a/roles/linroom/tasks/projectlibre.yml +++ b/roles/linroom/tasks/projectlibre.yml @@ -1,2 +1,3 @@ -# TODO install Project Libre -# https://www.projectlibre.com/product/1-alternative-microsoft-project-open-source +- name: Install projectlibre + apt: + deb: https://jztkft.dl.sourceforge.net/project/projectlibre/ProjectLibre/1.9.3/projectlibre_1.9.3-1.deb diff --git a/roles/linroom/tasks/python3.yml b/roles/linroom/tasks/python3.yml index 02a8bfd..56ce94f 100644 --- a/roles/linroom/tasks/python3.yml +++ b/roles/linroom/tasks/python3.yml @@ -1,10 +1,10 @@ -name: Install python3 -apt: - name: python3 - state: latest +- name: Install python3 + apt: + name: python3 + state: latest -name: Install ipython -apt: - name: python3-ipython - state: latest +- name: Install ipython + apt: + name: python3-ipython + state: latest diff --git a/roles/linroom/tasks/qcadesigner-e.yml b/roles/linroom/tasks/qcadesigner-e.yml index fa8a736..dd955bc 100644 --- a/roles/linroom/tasks/qcadesigner-e.yml +++ b/roles/linroom/tasks/qcadesigner-e.yml @@ -1,18 +1,29 @@ -- name: Create QCADesigner-e destination +- name: Install QCADesigner-E build deps + block: + - name: Install automake + apt: + name: automake + state: latest + - name: Install automake + apt: + name: libgtk2.0-dev + state: latest +- name: Create QCADesigner-E destination file: - path: /opt/QCADEsigner-E + path: /opt/QCADesigner-E state: directory - name: Clone QCADesigner-E repo # ansible.builtin.git: repo: https://github.com/FSillT/QCADesigner-E - dest: /opt/QCADEsigner-E + force: yes + dest: /opt/QCADesigner-E - name: Build QCADesigner-E shell: - cmd: cd /opt/QCADEsigner-E/QCADEsigner-E && ./autogen.sh && make + cmd: cd /opt/QCADesigner-E/QCADesignerE && chmod +x ./configure && ./configure && make - name: Create QCADesigner-e symlink file: - src: /opt/QCADEsigner-E/QCADesignerE/src/QCADesigner + src: /opt/QCADesigner-E/QCADesignerE/src/QCADesigner dest: /usr/local/bin/QCADesigner state: link # TODO create .desktop file diff --git a/roles/linroom/tasks/racket.yml b/roles/linroom/tasks/racket.yml index 3387695..a2ec494 100644 --- a/roles/linroom/tasks/racket.yml +++ b/roles/linroom/tasks/racket.yml @@ -1,5 +1,5 @@ -name: Install racket -apt: - name: racket - state: latest +- name: Install racket + apt: + name: racket + state: latest diff --git a/roles/linroom/tasks/rlwrap.yml b/roles/linroom/tasks/rlwrap.yml index c6fe24f..f843350 100644 --- a/roles/linroom/tasks/rlwrap.yml +++ b/roles/linroom/tasks/rlwrap.yml @@ -1,4 +1,4 @@ -name: Install rlwrap -apt: - name: rlwrap - state: latest +- name: Install rlwrap + apt: + name: rlwrap + state: latest diff --git a/roles/linroom/tasks/rstudio.yml b/roles/linroom/tasks/rstudio.yml index 95ae391..a21785b 100644 --- a/roles/linroom/tasks/rstudio.yml +++ b/roles/linroom/tasks/rstudio.yml @@ -6,8 +6,8 @@ dest: /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc - name: R repo - url ansible.builtin.apt_repository: - repo: "deb https://cloud.r-project.org/bin/linux/ubuntu {{ansible_distribution_release}}-cran40/" - state: present + repo: "deb https://cloud.r-project.org/bin/linux/ubuntu {{ansible_distribution_release}}-cran40/" + state: present - name: Install R ansible.builtin.apt: name: r-base diff --git a/roles/linroom/tasks/sagemath.yml b/roles/linroom/tasks/sagemath.yml index 1716b5b..9b757ef 100644 --- a/roles/linroom/tasks/sagemath.yml +++ b/roles/linroom/tasks/sagemath.yml @@ -1,8 +1,9 @@ -name: Install SageMath -apt: - name: sagemath - state: latest -name: Install SageMath - Jupyter -apt: - name: sagemath-jupyter - state: latest +- name: Install SageMath + apt: + name: sagemath + state: latest + +- name: Install SageMath - Jupyter + apt: + name: sagemath-jupyter + state: latest diff --git a/roles/linroom/tasks/smlnj.yml b/roles/linroom/tasks/smlnj.yml index 9354511..7096389 100644 --- a/roles/linroom/tasks/smlnj.yml +++ b/roles/linroom/tasks/smlnj.yml @@ -1,13 +1,13 @@ -name: Install SML/NJ -apt: - name: smlnj - state: latest -name: Install SML/NJ -apt: - name: smlnj - state: latest -name: Install Emacs extension for SML -apt: - name: elpa-sml-mode - state: latest +- name: Install SML/NJ + apt: + name: smlnj + state: latest +- name: Install SML/NJ + apt: + name: smlnj + state: latest +- name: Install Emacs extension for SML + apt: + name: elpa-sml-mode + state: latest diff --git a/roles/linroom/tasks/swi-prolog.yml b/roles/linroom/tasks/swi-prolog.yml index fcf95bd..f1357e4 100644 --- a/roles/linroom/tasks/swi-prolog.yml +++ b/roles/linroom/tasks/swi-prolog.yml @@ -1,8 +1,8 @@ -name: Install SWI-Prolog -apt: - name: swi-prolog - state: latest -name: Install SWI-Prolog - X support -apt: - name: swi-prolog-x - state: latest +- name: Install SWI-Prolog + apt: + name: swi-prolog + state: latest +- name: Install SWI-Prolog - X support + apt: + name: swi-prolog-x + state: latest diff --git a/roles/linroom/tasks/unity.yml b/roles/linroom/tasks/unity.yml index 24988f7..c13b36c 100644 --- a/roles/linroom/tasks/unity.yml +++ b/roles/linroom/tasks/unity.yml @@ -1 +1,12 @@ # TODO install Unity +- name: PowerDesigner + debug: + msg: "Unity" +- name: Install Wine + apt: + name: wine-development + state: latest +- name: Install Wine binfmt support + apt: + name: wine-binfmt + state: latest diff --git a/roles/linroom/tasks/vivado.yml b/roles/linroom/tasks/vivado.yml index e382a2c..64a9d54 100644 --- a/roles/linroom/tasks/vivado.yml +++ b/roles/linroom/tasks/vivado.yml @@ -1 +1,5 @@ # TODO pripravi install Vivado +# https://www.xilinx.com/member/forms/download/xef.html?filename=Xilinx_Unified_2022.1_0420_0327_Lin64.bin +- name: Install Vivado + debug: + msg: "Install Vivado, rodistvori dodatnih 70+G diska na računalnik" diff --git a/roles/linroom/tasks/vscode.yml b/roles/linroom/tasks/vscode.yml index 797697a..0c31e51 100644 --- a/roles/linroom/tasks/vscode.yml +++ b/roles/linroom/tasks/vscode.yml @@ -6,9 +6,26 @@ dest: /etc/apt/trusted.gpg.d/microsoft_key.asc - name: VS repo - url ansible.builtin.apt_repository: - repo: "deb https://packages.microsoft.com/repos/vscode stable main" - state: present + repo: "deb https://packages.microsoft.com/repos/vscode stable main" + state: present + - name: Install VSCode ansible.builtin.apt: name: code state: latest + +- name: Install VS Code extensions + shell: code --no-sandbox --user-data-dir "/usr/share/code/resources/app" --extensions-dir "/usr/share/code/resources/app/extensions" --install-extension "{{ item }}" + loop: + - VisualStudioExptTeam.vscodeintellicode + - arthurwang.vsc-prolog + - dramforever.vscode-ghc-simple + - eamodio.gitlens + - justusadam.language-haskell + - ms-dotnettools.csharp + - ms-python.python + - ms-vscode.cpptools + - ocamllabs.ocaml-platform + - stonebuddha.vscode-better-sml + - vscode-icons-team.vscode-icons + diff --git a/roles/linroom/tasks/wfdb.yml b/roles/linroom/tasks/wfdb.yml index 665e170..3235389 100644 --- a/roles/linroom/tasks/wfdb.yml +++ b/roles/linroom/tasks/wfdb.yml @@ -1,27 +1,27 @@ # Dobi se jo na: https://www.physionet.org/content/wfdb/10.7.0/ 1. razpakiraj arhiv 2. pojdi v direktorij. 3. poženi .-configure lahko z dodatnimi parametri glede na željeno lokacijo knjižnice 4. poženi make 5. poženi sudo make install -name: Install libFLAC +- name: Install libFLAC apt: name: libflac-dev state: latest -name: Install libcurl +- name: Install libcurl apt: - name: libcurl-dev -name: Install GCC + name: libcurl4-openssl-dev +- name: Install GCC apt: name: gcc -name: Install make +- name: Install make apt: name: make -name: Create WFDB destination +- name: Create WFDB destination file: path: /opt/wfdb state: directory -name: Download WFDB +- name: Download WFDB unarchive: src: https://www.physionet.org/physiotools/archives/wfdb-10.7/wfdb-10.7.0.tar.gz dest: /opt/wfdb + creates: /opt/wfdb/wfdb-10.7.0/README remote_src: yes -name: Build and install WFDB +- name: Build and install WFDB shell: - cmd: cd /opt/wfdb && ./configure && make && make install - + cmd: cd /opt/wfdb/wfdb-10.7.0 && ./configure && make && make install