rpmfusion-nonfree-repo: Fix variable naming
This commit is contained in:
parent
157610fa6d
commit
1d7494dc58
2 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
---
|
---
|
||||||
rpmfusion_free_keyurl: >-
|
rpmfusion_nonfree_keyurl: >-
|
||||||
https://rpmfusion.org/keys?action=AttachFile&do=get&target=
|
https://rpmfusion.org/keys?action=AttachFile&do=get&target=
|
||||||
rpmfusion_base_url: https://mirrors.rpmfusion.org/free/
|
rpmfusion_nonfree_baseurl: https://mirrors.rpmfusion.org/free/
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
---
|
---
|
||||||
- name: install rpm signing key
|
- name: install rpm signing key
|
||||||
rpm_key:
|
rpm_key:
|
||||||
key: "{{ rpmfusion_free_keyurl }}RPM-GPG-KEY-rpmfusion-nonfree-el-{{ ansible_distribution_major_version }}"
|
key: "{{ rpmfusion_nonfree_keyurl }}RPM-GPG-KEY-rpmfusion-nonfree-el-{{ ansible_distribution_major_version }}"
|
||||||
state: present
|
state: present
|
||||||
when: 'ansible_distribution != "Fedora"'
|
when: 'ansible_distribution != "Fedora"'
|
||||||
|
|
||||||
- name: install rpm signing key
|
- name: install rpm signing key
|
||||||
rpm_key:
|
rpm_key:
|
||||||
key: "{{ rpmfusion_free_keyurl }}RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020"
|
key: "{{ rpmfusion_nonfree_keyurl }}RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020"
|
||||||
state: present
|
state: present
|
||||||
when: 'ansible_distribution == "Fedora"'
|
when: 'ansible_distribution == "Fedora"'
|
||||||
|
|
||||||
- name: enable repository
|
- name: enable repository
|
||||||
package:
|
package:
|
||||||
name: "{{ rpmfusion_baseurl }}/el/rpmfusion-nonfree-release-{{ ansible_distribution_major_version }}.noarch.rpm"
|
name: "{{ rpmfusion_nonfree_baseurl }}/el/rpmfusion-nonfree-release-{{ ansible_distribution_major_version }}.noarch.rpm"
|
||||||
state: installed
|
state: installed
|
||||||
when: 'ansible_distribution != "Fedora"'
|
when: 'ansible_distribution != "Fedora"'
|
||||||
|
|
||||||
- name: enable repository
|
- name: enable repository
|
||||||
package:
|
package:
|
||||||
name: "{{ rpmfusion_baseurl }}/fedora/rpmfusion-nonfree-release-{{ ansible_distribution_version }}.noarch.rpm"
|
name: "{{ rpmfusion_nonfree_baseurl }}/fedora/rpmfusion-nonfree-release-{{ ansible_distribution_version }}.noarch.rpm"
|
||||||
state: installed
|
state: installed
|
||||||
when: 'ansible_distribution == "Fedora"'
|
when: 'ansible_distribution == "Fedora"'
|
||||||
|
|
Loading…
Add table
Reference in a new issue