fix(os/el): enable Google repo and RPMfusion
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
67d4083b97
commit
27fe69cfa0
2 changed files with 25 additions and 1 deletions
6
roles/os/el/files/google-chrome.repo
Normal file
6
roles/os/el/files/google-chrome.repo
Normal file
|
@ -0,0 +1,6 @@
|
|||
[google-chrome]
|
||||
name=google-chrome
|
||||
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
gpgkey=https://dl.google.com/linux/linux_signing_key.pub
|
|
@ -29,5 +29,23 @@
|
|||
community.general.copr:
|
||||
name: mfocko/mfocko
|
||||
state: enabled
|
||||
chroot: "epel-9-{{ ansible_architecture }}"
|
||||
chroot: "epel-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}"
|
||||
become: true
|
||||
|
||||
- name: Install RPMFusion RPMs with GPG keys
|
||||
ansible.builtin.dnf:
|
||||
name:
|
||||
- "https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-{{ ansible_distribution_major_version }}.noarch.rpm"
|
||||
- "https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-{{ ansible_distribution_major_version }}.noarch.rpm"
|
||||
disable_gpg_check: true
|
||||
state: present
|
||||
tags: os-el-rpmfusion
|
||||
|
||||
- name: Install Google Chrome repository
|
||||
ansible.builtin.copy:
|
||||
src: files/google-chrome.repo
|
||||
dest: /etc/yum.repos.d/google-chrome.repo
|
||||
mode: 0640
|
||||
owner: root
|
||||
group: root
|
||||
tags: os-el-chrome
|
||||
|
|
Loading…
Reference in a new issue