Repository: metron Updated Branches: refs/heads/master e5b0d7c14 -> 383d798c7
METRON-1287 Full Dev Fails When Installing EPEL Repository (nickwallen) closes apache/metron#820 Project: http://git-wip-us.apache.org/repos/asf/metron/repo Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/383d798c Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/383d798c Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/383d798c Branch: refs/heads/master Commit: 383d798c7827e916068f89ff362a6ecccb550241 Parents: e5b0d7c Author: nickwallen <[email protected]> Authored: Tue Oct 31 08:47:50 2017 -0400 Committer: nickallen <[email protected]> Committed: Tue Oct 31 08:47:50 2017 -0400 ---------------------------------------------------------------------- metron-deployment/roles/epel/tasks/main.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/metron/blob/383d798c/metron-deployment/roles/epel/tasks/main.yml ---------------------------------------------------------------------- diff --git a/metron-deployment/roles/epel/tasks/main.yml b/metron-deployment/roles/epel/tasks/main.yml index db4e70b..90ae598 100644 --- a/metron-deployment/roles/epel/tasks/main.yml +++ b/metron-deployment/roles/epel/tasks/main.yml @@ -15,16 +15,7 @@ # limitations under the License. # --- -- name: Get epel-repo rpm - get_url: - dest: /tmp/epel-release.rpm - url: http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm +- name: Install EPEL repository + yum: name=epel-release update_cache=yes + -- name: Install epel-repo rpm - yum: - pkg: /tmp/epel-release.rpm - state: installed - register: result - until: result.rc == 0 - retries: 5 - delay: 10
