From e158742c4b74be4fda78549335d33dcc2ddf159e Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Sun, 25 Sep 2016 19:59:08 +0000 Subject: [PATCH] seemingly host1plus gave us a centos box Signed-off-by: Patrick Uiterwijk --- tasks/yumrepos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index 3836f3cad0..7d8d0702dd 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -59,7 +59,7 @@ - name: add infrastructure tags repo - RHEL copy: src="{{ files }}/common/rhel-infra-tags.repo" dest="/etc/yum.repos.d/infra-tags.repo" - when: ansible_distribution == 'RedHat' + when: ((ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and use_default_epel) tags: - config - packages