diff --git a/roles/install/tasks/kf2-classic.yml b/roles/install/tasks/kf2-classic.yml index 3704d22..5e0b34e 100644 --- a/roles/install/tasks/kf2-classic.yml +++ b/roles/install/tasks/kf2-classic.yml @@ -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 diff --git a/roles/install/templates/microsoft-prod.list.j2 b/roles/install/templates/microsoft-prod.list.j2 deleted file mode 100644 index 61f5a43..0000000 --- a/roles/install/templates/microsoft-prod.list.j2 +++ /dev/null @@ -1 +0,0 @@ -deb [arch=amd64] https://packages.microsoft.com/ubuntu/{{ ansible_distribution_version }}/prod {{ ansible_distribution_release }} main