mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
27 lines
1.0 KiB
YAML
27 lines
1.0 KiB
YAML
- name: Install rpm fusion repo (free and non-free)
|
|
tags: ["once"]
|
|
block:
|
|
- name: Importing (free) key
|
|
ansible.builtin.rpm_key:
|
|
state: present
|
|
key: https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-fedora-2020
|
|
|
|
- name: Importing (non-free) key
|
|
ansible.builtin.rpm_key:
|
|
state: present
|
|
key: https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020
|
|
|
|
- name: install the rpmfusion repo packages
|
|
dnf:
|
|
name:
|
|
- http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ ansible_distribution_major_version }}.noarch.rpm
|
|
- http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ ansible_distribution_major_version }}.noarch.rpm
|
|
state: present
|
|
|
|
- name: Add the flathub flatpak repository remote
|
|
flatpak_remote:
|
|
name: flathub
|
|
state: present
|
|
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
|
|
become: true
|