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:
+3
-2
@@ -2,9 +2,10 @@
|
|||||||
- name: RPM Fusion - Installer free og nonfree repos
|
- name: RPM Fusion - Installer free og nonfree repos
|
||||||
ansible.builtin.dnf:
|
ansible.builtin.dnf:
|
||||||
name:
|
name:
|
||||||
- "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-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_distribution_major_version }}.noarch.rpm"
|
- "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ ansible_facts['distribution_major_version'] }}.noarch.rpm"
|
||||||
state: present
|
state: present
|
||||||
|
disable_gpg_check: true
|
||||||
|
|
||||||
- name: RPM Fusion - Aktiver Cisco OpenH264
|
- name: RPM Fusion - Aktiver Cisco OpenH264
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
|
|||||||
Reference in New Issue
Block a user