machina-installer/playbooks/dnf-repos.yml

30 lines
1.2 KiB
YAML

- hosts: "{{ hostlist }}"
tasks:
- name: Install the RPM Fusion Free GPG key
become: true
rpm_key:
key: "https://rpmfusion.net/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-fedora-2020"
fingerprint: E9A4 91A3 DE24 7814 E7E0 67EA E06F 8ECD D651 FF2E
state: present
- name: Enable the RPM Fusion Free repository
become: true
dnf:
name: "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ansible_distribution_major_version}}.noarch.rpm"
state: present
- name: Install the RPM Fusion Non-free GPG key
become: true
rpm_key:
key: "https://rpmfusion.net/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020"
fingerprint: 79BD B88F 9BBF 7391 0FD4 095B 6A2A F961 9484 3C65
state: present
- name: Enable the RPM Fusion Non-free repository
become: true
dnf:
name: "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ansible_distribution_major_version}}.noarch.rpm"
state: present
- name: Enable the skidnik/termite repo
become: true
community.general.copr:
name: "skidnik/termite"
state: enabled