---
- name: Install RPMFusion RPMs with GPG keys
  ansible.builtin.dnf:
    name:
      - "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ ansible_distribution_version }}.noarch.rpm"
      - "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ ansible_distribution_version }}.noarch.rpm"
    disable_gpg_check: true
    state: present
  tags: system-fedora-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: system-fedora-chrome