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"