Rename roles according to ansible recommendations
This commit is contained in:
parent
ce37f81e76
commit
bc5eda7487
17 changed files with 8 additions and 8 deletions
24
rpmfusion_free_repo/tasks/main.yml
Normal file
24
rpmfusion_free_repo/tasks/main.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
- name: install rpm signing key
|
||||
rpm_key:
|
||||
key: "{{ rpmfusion_free_keyurl }}RPM-GPG-KEY-rpmfusion-free-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-free-fedora-2020"
|
||||
state: present
|
||||
when: 'ansible_distribution == "Fedora"'
|
||||
|
||||
- name: enable repository
|
||||
package:
|
||||
name: "{{ rpmfusion_free_baseurl }}/el/rpmfusion-free-release-{{ ansible_distribution_major_version }}.noarch.rpm"
|
||||
state: installed
|
||||
when: 'ansible_distribution != "Fedora"'
|
||||
|
||||
- name: enable repository
|
||||
package:
|
||||
name: "{{ rpmfusion_free_baseurl }}/fedora/rpmfusion-free-release-{{ ansible_distribution_version }}.noarch.rpm"
|
||||
state: installed
|
||||
when: 'ansible_distribution == "Fedora"'
|
Loading…
Add table
Add a link
Reference in a new issue