feat(fedora): allow skipping of new repos install

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2022-03-12 23:26:19 +01:00
parent 78eaf7ec02
commit 4c820b8e26
No known key found for this signature in database
GPG key ID: 332171FADF1DB90B

View file

@ -2,6 +2,7 @@
- name: Get version of Fedora
shell: rpm -E %fedora
register: fedora_version
tags: install_new_repos
- name: Install RPMFusion RPMs with GPG keys
dnf:
@ -10,11 +11,13 @@
- "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ fedora_version.stdout }}.noarch.rpm"
disable_gpg_check: yes
state: present
tags: install_new_repos
- name: Install Google Chrome repository
template:
src: templates/google-chrome.repo.j2
dest: /etc/yum.repos.d/google-chrome.repo
tags: install_new_repos
- name: Install repositories
template: