2020-10-14 20:11:25 +02:00
|
|
|
---
|
2020-10-17 13:41:25 +02:00
|
|
|
- name: Get version of Fedora
|
|
|
|
shell: rpm -E %fedora
|
|
|
|
register: fedora_version
|
|
|
|
|
|
|
|
- name: Install RPMFusion RPMs with GPG keys
|
|
|
|
dnf:
|
|
|
|
name:
|
|
|
|
- "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ fedora_version.stdout }}.noarch.rpm"
|
|
|
|
- "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ fedora_version.stdout }}.noarch.rpm"
|
2021-01-25 19:26:36 +01:00
|
|
|
disable_gpg_check: yes
|
2020-10-17 13:41:25 +02:00
|
|
|
state: present
|
|
|
|
|
2020-10-14 20:11:25 +02:00
|
|
|
- name: Install Google Chrome repository
|
|
|
|
template:
|
|
|
|
src: templates/google-chrome.repo.j2
|
|
|
|
dest: /etc/yum.repos.d/google-chrome.repo
|
|
|
|
|
|
|
|
- name: Install repositories
|
|
|
|
template:
|
|
|
|
src: templates/{{ source }}/{{ item }}.repo.j2
|
|
|
|
dest: /etc/yum.repos.d/{{ item }}.repo
|
|
|
|
loop:
|
|
|
|
- fedora-modular
|
|
|
|
- fedora-updates-modular
|
|
|
|
- fedora-updates-testing-modular
|
|
|
|
- fedora-updates-testing
|
|
|
|
- fedora-updates
|
|
|
|
- fedora
|
|
|
|
- rpmfusion-free-updates-testing
|
|
|
|
- rpmfusion-free-updates
|
|
|
|
- rpmfusion-free
|
|
|
|
- rpmfusion-nonfree-updates-testing
|
|
|
|
- rpmfusion-nonfree-updates
|
2021-01-25 12:19:56 +01:00
|
|
|
- rpmfusion-nonfree
|