diff --git a/roles/IS-63714/meta/main.yml b/roles/IS-63714/meta/main.yml index fb9009f..cb15546 100644 --- a/roles/IS-63714/meta/main.yml +++ b/roles/IS-63714/meta/main.yml @@ -4,7 +4,7 @@ dependencies: - role: docker - role: vscode - - role: dotnet6 + - role: dotnet - role: git - role: android_studio diff --git a/roles/PB-63707/meta/main.yml b/roles/PB-63707/meta/main.yml index 2ffafb3..4213eba 100644 --- a/roles/PB-63707/meta/main.yml +++ b/roles/PB-63707/meta/main.yml @@ -3,7 +3,7 @@ # Windows, Power designer 12.5, Java JDK, Python 3, dotnet6 SDK, Jupyter Notebook, Eclipse, MySql Workbench, MySQL ODBC Connector, Notepad++ dependencies: - role: eclipse - - role: dotnet6 + - role: dotnet - role: jupyter - role: jdk - role: powerdesigner diff --git a/roles/TUP-63226/meta/main.yml b/roles/TUP-63226/meta/main.yml index 1181f8c..857f6a3 100644 --- a/roles/TUP-63226/meta/main.yml +++ b/roles/TUP-63226/meta/main.yml @@ -3,7 +3,7 @@ # Windows, Power designer 12.5, Java JDK, Python 3, dotnet6 SDK, Jupyter Notebook, Eclipse, MySql Workbench, MySQL ODBC Connector, Notepad++ dependencies: - role: eclipse - - role: dotnet6 + - role: dotnet - role: jupyter - role: jdk - role: powerdesigner diff --git a/roles/dotnet/tasks/main.yml b/roles/dotnet/tasks/main.yml new file mode 100644 index 0000000..55203f6 --- /dev/null +++ b/roles/dotnet/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/dotnet/tasks/main_lin.yml b/roles/dotnet/tasks/main_lin.yml new file mode 100644 index 0000000..57661c2 --- /dev/null +++ b/roles/dotnet/tasks/main_lin.yml @@ -0,0 +1,4 @@ +- name: "Install Dotnet 8.0" + apt: + name: dotnet8 + state: latest diff --git a/roles/dotnet/tasks/main_win.yml b/roles/dotnet/tasks/main_win.yml new file mode 100644 index 0000000..2ea6b4c --- /dev/null +++ b/roles/dotnet/tasks/main_win.yml @@ -0,0 +1,7 @@ +- name: Install .NET 6 SDK + win_chocolatey: + name: dotnet-6.0-sdk + +- name: Install .NET 8 SDK + win_chocolatey: + name: dotnet-8.0-sdk