fix: ret GPG-fejl og deprecation warning ved RPM Fusion install

- 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)
This commit is contained in:
2026-05-22 19:23:48 +02:00
parent 56d167326a
commit 9658e4e994
+3 -2
View File
@@ -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: