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