2013-05-20 17:14:56 +00:00
|
|
|
---
|
2014-06-20 23:18:51 +00:00
|
|
|
- name: put rhel repos on rhel6 systems
|
2014-01-01 19:15:11 +00:00
|
|
|
action: copy src="{{ files }}/common/{{ item }}" dest="/etc/yum.repos.d/{{ item }}"
|
2013-05-20 17:14:56 +00:00
|
|
|
with_items:
|
|
|
|
- epel6.repo
|
|
|
|
- rhel6.repo
|
2014-06-23 02:27:45 +00:00
|
|
|
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version == '6'
|
2014-06-20 23:18:51 +00:00
|
|
|
tags:
|
|
|
|
- config
|
|
|
|
- packages
|
2014-09-30 00:03:50 +00:00
|
|
|
- yumrepos
|
2014-06-20 23:18:51 +00:00
|
|
|
|
|
|
|
- name: put rhel repos on rhel7 systems
|
|
|
|
action: copy src="{{ files }}/common/{{ item }}" dest="/etc/yum.repos.d/{{ item }}"
|
|
|
|
with_items:
|
|
|
|
- epel7.repo
|
|
|
|
- rhel7.repo
|
2014-06-23 02:27:45 +00:00
|
|
|
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version == '7'
|
2013-05-20 17:14:56 +00:00
|
|
|
tags:
|
|
|
|
- config
|
|
|
|
- packages
|
2014-09-30 00:03:50 +00:00
|
|
|
- yumrepos
|
2013-05-20 17:14:56 +00:00
|
|
|
|
2013-09-05 03:07:25 +00:00
|
|
|
- name: put fedora repos on x86 systems
|
2014-01-01 19:15:11 +00:00
|
|
|
action: copy src="{{ files }}/common/{{ item }}" dest="/etc/yum.repos.d/{{ item }}"
|
2013-09-05 02:11:53 +00:00
|
|
|
with_items:
|
|
|
|
- fedora.repo
|
|
|
|
- fedora-updates.repo
|
|
|
|
- fedora-updates-testing.repo
|
2014-07-03 15:52:44 +00:00
|
|
|
when: ansible_distribution == 'Fedora' and (ansible_architecture == 'x86_64' or ansible_architecture == 'i386')
|
2013-09-05 03:07:25 +00:00
|
|
|
tags:
|
|
|
|
- config
|
|
|
|
- packages
|
2014-09-30 00:03:50 +00:00
|
|
|
- yumrepos
|
2013-09-05 03:07:25 +00:00
|
|
|
|
|
|
|
- name: put fedora repos on arm systems
|
2014-01-26 01:10:38 +00:00
|
|
|
action: copy src="{{ files }}/common/{{ item }}-arm" dest="/etc/yum.repos.d/{{ item }}"
|
2013-09-05 03:07:25 +00:00
|
|
|
with_items:
|
|
|
|
- fedora.repo
|
|
|
|
- fedora-updates.repo
|
|
|
|
- fedora-updates-testing.repo
|
2014-02-28 19:36:41 +00:00
|
|
|
when: ansible_distribution == 'Fedora' and ansible_architecture == 'armv7l' and not inventory_hostname.startswith('arm03')
|
2013-09-05 02:11:53 +00:00
|
|
|
tags:
|
|
|
|
- config
|
|
|
|
- packages
|
2014-09-30 00:03:50 +00:00
|
|
|
- yumrepos
|
2013-09-05 02:11:53 +00:00
|
|
|
|
2015-03-24 22:12:02 +00:00
|
|
|
- name: put fedora repos on aarch64 systems
|
|
|
|
action: copy src="{{ files }}/common/{{ item }}-aarch64" dest="/etc/yum.repos.d/{{ item }}"
|
|
|
|
with_items:
|
|
|
|
- fedora.repo
|
|
|
|
- fedora-updates.repo
|
|
|
|
- fedora-updates-testing.repo
|
|
|
|
when: ansible_distribution == 'Fedora' and ansible_architecture == 'aarch64' and not inventory_hostname.startswith('aarch64')
|
|
|
|
tags:
|
|
|
|
- config
|
|
|
|
- packages
|
|
|
|
- yumrepos
|
|
|
|
|
2013-05-20 17:14:56 +00:00
|
|
|
- name: add infrastructure repo
|
2014-01-01 19:15:11 +00:00
|
|
|
action: copy src="{{ files }}/common/{{ item }}" dest="/etc/yum.repos.d/{{ item }}"
|
2013-06-21 19:21:17 +00:00
|
|
|
with_items:
|
|
|
|
- infrastructure.repo
|
|
|
|
- infrastructure-testing.repo
|
2013-05-20 17:14:56 +00:00
|
|
|
tags:
|
|
|
|
- config
|
|
|
|
- packages
|
2014-09-30 00:03:50 +00:00
|
|
|
- yumrepos
|