Instead of a custom task, use epel_customizationj
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
e3d9de7fe2
commit
375eaa9ed4
5 changed files with 7 additions and 8 deletions
|
@ -8,8 +8,11 @@
|
|||
- yumrepos
|
||||
|
||||
- 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') and use_default_epel)
|
||||
action: copy src="{{ item }}.repo" dest="/etc/yum.repos.d/epel{{ ansible_distribution_major_version }}.repo"
|
||||
when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS')
|
||||
with_first_found:
|
||||
- {{ files }}/common/epel{{ epel_customization }}.repo
|
||||
- {{ files }}/common/epel{{ ansible_distribution_major_version }}.repo
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue