Set repos for fedora machines to use infrastructure repo.
This commit is contained in:
parent
72daf52395
commit
8659e811dd
4 changed files with 93 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
|
||||
- name: put repos on system
|
||||
- name: put rhel repos on system
|
||||
action: copy src=$files/common/$item dest=/etc/yum.repos.d/$item
|
||||
with_items:
|
||||
- epel6.repo
|
||||
|
@ -10,6 +10,17 @@
|
|||
- config
|
||||
- packages
|
||||
|
||||
- name: put fedora repos on system
|
||||
action: copy src=$files/common/$item dest=/etc/yum.repos.d/$item
|
||||
with_items:
|
||||
- fedora.repo
|
||||
- fedora-updates.repo
|
||||
- fedora-updates-testing.repo
|
||||
only_if: '$is_fedora'
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
||||
- name: add infrastructure repo
|
||||
action: copy src=$files/common/$item dest=/etc/yum.repos.d/$item
|
||||
with_items:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue