Bump version of dotnet
This commit is contained in:
parent
6a3b70eb4d
commit
49e5e6946b
6 changed files with 18 additions and 3 deletions
4
roles/dotnet/tasks/main.yml
Normal file
4
roles/dotnet/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_connection == 'winrm'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_connection == 'ssh'
|
4
roles/dotnet/tasks/main_lin.yml
Normal file
4
roles/dotnet/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: "Install Dotnet 8.0"
|
||||
apt:
|
||||
name: dotnet8
|
||||
state: latest
|
7
roles/dotnet/tasks/main_win.yml
Normal file
7
roles/dotnet/tasks/main_win.yml
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue