1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_epel.git synced 2024-08-16 14:49:49 +02:00

Update var names

This commit is contained in:
L3D 2020-02-20 16:24:54 +01:00 committed by L3D
parent e2452082a5
commit 15f23f6f67
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
3 changed files with 6 additions and 5 deletions

View file

@ -1,5 +1,5 @@
---
submodules_versioncheck: true
# epel repo
epel-repo_url: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm"
epel-repo_gpg_key_url: "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-{{ ansible_distribution_major_version }}"
epel_repo_url: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm"
epel_repo_gpg_key_url: "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-{{ ansible_distribution_major_version }}"

View file

@ -5,13 +5,14 @@
- name: import EPEL Repo GPG Key
become: true
rpm_key:
key: "{{ epel-repo_gpg_key_url }}"
key: "{{ epel_repo_gpg_key_url }}"
state: present
- name: Install EPEL repo
become: true
yum:
name: "{{ epel-repo_url }}"
name: "{{ epel_repo_url }}"
state: present
register: result
until: result is succeeded
retries: 3

View file

@ -1,3 +1,3 @@
---
playbook_version_number: 1024 # should be over ninethousand
playbook_version_number: 1025 # should be over ninethousand
playbook_version_path: 'role-epel_roles-ansible_github.com.version'