Skip to content

Commit

Permalink
Use backports PPA for .NET on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
bviktor committed Nov 28, 2024
1 parent 1779b7c commit cdebb29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
15 changes: 5 additions & 10 deletions roles/install/tasks/kf2-classic.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
---
- name: Enable .NET backports repo
apt_repository:
repo: ppa:dotnet/backports
when: ansible_os_family == 'Debian'

- name: Install .NET Runtime
package:
name: "dotnet-runtime-{{ dotnet_version }}"
state: latest
when: ansible_os_family == 'RedHat'

- include_role:
name: noobient.thirdparty
vars:
name: '.NET Runtime'
gpg_url: 'https://packages.microsoft.com/keys/microsoft.asc'
repo_file: 'microsoft-prod'
package: "dotnet-runtime-{{ dotnet_version }}"
when: ansible_os_family == 'Debian'

- include_role:
name: noobient.github_release
Expand Down
1 change: 0 additions & 1 deletion roles/install/templates/microsoft-prod.list.j2

This file was deleted.

0 comments on commit cdebb29

Please sign in to comment.