From 9658e4e9949ef10fda0b8ea2ceb496e5bfc8524a Mon Sep 17 00:00:00 2001 From: GlennIgen Date: Fri, 22 May 2026 19:23:48 +0200 Subject: [PATCH] fix: ret GPG-fejl og deprecation warning ved RPM Fusion install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Tilføj disable_gpg_check: true — DNF5 kan ikke verificere GPG når pakker installeres direkte fra URL uden konfigureret nøgle - Brug ansible_facts['distribution_major_version'] i stedet for ansible_distribution_major_version (deprecated i ansible-core 2.24) --- tasks/rpmfusion.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/rpmfusion.yml b/tasks/rpmfusion.yml index 79a0faf..1bae500 100644 --- a/tasks/rpmfusion.yml +++ b/tasks/rpmfusion.yml @@ -2,9 +2,10 @@ - name: RPM Fusion - Installer free og nonfree repos ansible.builtin.dnf: name: - - "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ ansible_distribution_major_version }}.noarch.rpm" - - "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ ansible_distribution_major_version }}.noarch.rpm" + - "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ ansible_facts['distribution_major_version'] }}.noarch.rpm" + - "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ ansible_facts['distribution_major_version'] }}.noarch.rpm" state: present + disable_gpg_check: true - name: RPM Fusion - Aktiver Cisco OpenH264 ansible.builtin.command: