From 0823c01bcec535fb96231789583ea4b8293fc8f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C5=A1per=20Fele-=C5=BDor=C5=BE?= Date: Thu, 29 Aug 2024 10:11:22 +0200 Subject: [PATCH] Add missing subjects (P1), mono --- roles/P1-63277/meta/main.yml | 8 ++++++++ roles/P1-63702/meta/main.yml | 7 +++++++ roles/mono/tasks/main.yml | 4 ++++ roles/mono/tasks/main_lin.yml | 4 ++++ roles/mono/tasks/main_win.yml | 3 +++ 5 files changed, 26 insertions(+) create mode 100644 roles/P1-63277/meta/main.yml create mode 100644 roles/P1-63702/meta/main.yml create mode 100644 roles/mono/tasks/main.yml create mode 100644 roles/mono/tasks/main_lin.yml create mode 100644 roles/mono/tasks/main_win.yml diff --git a/roles/P1-63277/meta/main.yml b/roles/P1-63277/meta/main.yml new file mode 100644 index 0000000..6c58609 --- /dev/null +++ b/roles/P1-63277/meta/main.yml @@ -0,0 +1,8 @@ +# Programiranje 1 +# luka.furst@fri.uni-lj.si +# JDK, mono +dependencies: + - role: jdk + - role: gedit + - role: mono + - role: vscode diff --git a/roles/P1-63702/meta/main.yml b/roles/P1-63702/meta/main.yml new file mode 100644 index 0000000..204af38 --- /dev/null +++ b/roles/P1-63702/meta/main.yml @@ -0,0 +1,7 @@ +# Programiranje 1 +# tomaz.hocevar@fri.uni-lj.si +# vscode, gcc, g++ +dependencies: + - role: gedit + - role: vscode + - role: c_development diff --git a/roles/mono/tasks/main.yml b/roles/mono/tasks/main.yml new file mode 100644 index 0000000..55203f6 --- /dev/null +++ b/roles/mono/tasks/main.yml @@ -0,0 +1,4 @@ +- import_tasks: main_win.yml + when: ansible_connection == 'winrm' +- import_tasks: main_lin.yml + when: ansible_connection == 'ssh' diff --git a/roles/mono/tasks/main_lin.yml b/roles/mono/tasks/main_lin.yml new file mode 100644 index 0000000..62cd928 --- /dev/null +++ b/roles/mono/tasks/main_lin.yml @@ -0,0 +1,4 @@ +- name: Install Mono + apt: + name: mono-devel + state: latest diff --git a/roles/mono/tasks/main_win.yml b/roles/mono/tasks/main_win.yml new file mode 100644 index 0000000..a0b6f40 --- /dev/null +++ b/roles/mono/tasks/main_win.yml @@ -0,0 +1,3 @@ +- name: Do not install Mono + debug: + msg: "Do not install Mono"