From 12536bd788ce2b0b46fe0b97aa59f6f01a94cc4b Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 20 Feb 2020 17:36:04 +0100 Subject: [PATCH] Add meta info --- defaults/main.yml | 2 +- meta/main.yml | 18 ++++++++++++++++++ tasks/main.yml | 1 + 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 meta/main.yml diff --git a/defaults/main.yml b/defaults/main.yml index 142c1d1..9c02a93 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -2,4 +2,4 @@ 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_gpg_key_url: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-{{ ansible_distribution_major_version }}" diff --git a/meta/main.yml b/meta/main.yml new file mode 100644 index 0000000..ac441c5 --- /dev/null +++ b/meta/main.yml @@ -0,0 +1,18 @@ +--- +galaxy_info: + author: L3D + description: Ansible role to install the Extra Packages for Enterprise Linux (EPEL) - Repository on RHEL/centos + role_name: epel + license: MIT + min_ansible_version: 2.7 + github_branch: master + platforms: + - name: EL + versions: + - all + galaxy_tags: + - epel + - epelrepo + - repo + - enterprise +dependencies: [] diff --git a/tasks/main.yml b/tasks/main.yml index e63901e..2bf9eca 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,6 +7,7 @@ rpm_key: key: "{{ epel_repo_gpg_key_url }}" state: present + validate_certs: true - name: Install EPEL repo become: true