feat(fedora): allow skipping of new repos install
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
78eaf7ec02
commit
4c820b8e26
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue