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:
parent
e2452082a5
commit
15f23f6f67
3 changed files with 6 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
submodules_versioncheck: true
|
submodules_versioncheck: true
|
||||||
# epel repo
|
# epel repo
|
||||||
epel-repo_url: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm"
|
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_gpg_key_url: "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-{{ ansible_distribution_major_version }}"
|
||||||
|
|
|
@ -5,13 +5,14 @@
|
||||||
- name: import EPEL Repo GPG Key
|
- name: import EPEL Repo GPG Key
|
||||||
become: true
|
become: true
|
||||||
rpm_key:
|
rpm_key:
|
||||||
key: "{{ epel-repo_gpg_key_url }}"
|
key: "{{ epel_repo_gpg_key_url }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Install EPEL repo
|
- name: Install EPEL repo
|
||||||
become: true
|
become: true
|
||||||
yum:
|
yum:
|
||||||
name: "{{ epel-repo_url }}"
|
name: "{{ epel_repo_url }}"
|
||||||
state: present
|
state: present
|
||||||
|
register: result
|
||||||
until: result is succeeded
|
until: result is succeeded
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
@ -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'
|
playbook_version_path: 'role-epel_roles-ansible_github.com.version'
|
||||||
|
|
Loading…
Reference in a new issue