Cloud needs special EPEL7 repo files

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2015-12-20 01:38:45 +00:00
parent a0b5ed2cf7
commit e3d9de7fe2
5 changed files with 33 additions and 1 deletions

View file

@ -9,7 +9,7 @@
- name: put epel repos on el systems
action: copy src="{{ files }}/common/epel{{ ansible_distribution_major_version }}.repo" dest="/etc/yum.repos.d/epel{{ ansible_distribution_major_version }}.repo"
when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS')
when: ((ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and use_default_epel)
tags:
- config
- packages