From 87622fbe5ebdbdd1e17ce78a785568bd56d44752 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Mon, 3 Jun 2019 11:57:25 -0400 Subject: [PATCH] common: Only put epel repos in place on EL7 or lower This should be reversed when EPEL8 is released (http://tracker.ceph.com/issues/40113) Signed-off-by: David Galloway --- roles/common/tasks/yum_systems.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/common/tasks/yum_systems.yml b/roles/common/tasks/yum_systems.yml index fd588641..91bbf070 100644 --- a/roles/common/tasks/yum_systems.yml +++ b/roles/common/tasks/yum_systems.yml @@ -72,9 +72,7 @@ # create and manage epel.repo - import_tasks: epel.yml - when: - ansible_distribution == "CentOS" or - ansible_distribution == 'RedHat' + when: (ansible_distribution == "CentOS" or ansible_distribution == 'RedHat') and ansible_distribution_major_version|int <= 7 tags: - epel - repos -- 2.47.3