summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2016-09-25 19:59:08 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2016-09-25 19:59:08 +0000
commite158742c4b74be4fda78549335d33dcc2ddf159e (patch)
tree3c8386ee7cc94332592d12c83fa9a6cd0f160949
parentfb769e8d193247c9523b96a983a6518da2ae2d40 (diff)
seemingly host1plus gave us a centos box
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
-rw-r--r--tasks/yumrepos.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml
index 3836f3cad..7d8d0702d 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