CentOS also can get EPEL6/7
This commit is contained in:
parent
851cfc6032
commit
a57e7505b7
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
with_items:
|
||||
- epel6.repo
|
||||
- rhel6.repo
|
||||
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 6
|
||||
when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and ansible_distribution_major_version|int == 6
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
@ -15,7 +15,7 @@
|
|||
with_items:
|
||||
- epel7.repo
|
||||
- rhel7.repo
|
||||
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7
|
||||
when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and ansible_distribution_major_version|int == 7
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue