24 lines
843 B
YAML
24 lines
843 B
YAML
---
|
|
- name: install rpm signing key
|
|
rpm_key:
|
|
key: "{{ rpmfusion_free_keyurl }}RPM-GPG-KEY-rpmfusion-nonfree-el-{{ ansible_distribution_major_version }}"
|
|
state: present
|
|
when: 'ansible_distribution != "Fedora"'
|
|
|
|
- name: install rpm signing key
|
|
rpm_key:
|
|
key: "{{ rpmfusion_free_keyurl }}RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020"
|
|
state: present
|
|
when: 'ansible_distribution == "Fedora"'
|
|
|
|
- name: enable repository
|
|
package:
|
|
name: "{{ rpmfusion_baseurl }}/el/rpmfusion-nonfree-release-{{ ansible_distribution_major_version }}.noarch.rpm"
|
|
state: installed
|
|
when: 'ansible_distribution != "Fedora"'
|
|
|
|
- name: enable repository
|
|
package:
|
|
name: "{{ rpmfusion_baseurl }}/fedora/rpmfusion-nonfree-release-{{ ansible_distribution_version }}.noarch.rpm"
|
|
state: installed
|
|
when: 'ansible_distribution == "Fedora"'
|