commit 9ca53b3661409de767e080fc44f0a615f22f943b
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Oct 7 19:37:04 2021 +0200
Drop fedora/rhel/centos bases repos
tasks/yumrepos.yml | 55 ----------------------------------------------------
1 files changed, 0 insertions(+), 55 deletions(-)
---
diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml
index 3fa0ac6..84da98e 100644
--- a/tasks/yumrepos.yml
+++ b/tasks/yumrepos.yml
@@ -94,61 +94,6 @@
- packages
- yumrepos
-- name: put fedora repos on primary architecture systems
- template: src="{{ files }}/common/{{ item }}" dest="/etc/yum.repos.d/{{
item }}"
- with_items:
- - fedora.repo
- - fedora-updates.repo
- - fedora-updates-testing.repo
- when: ansible_distribution == 'Fedora' and not
inventory_hostname.startswith(('buildvm-s390x', 'buildvm-ppc64le')) and
not inventory_hostname.startswith('rawhide-test') and datacenter !=
"aws"
- tags:
- - config
- - packages
- - yumrepos
-
-- name: put fedora modular repos on primary architecture systems
- template: src="{{ files }}/common/{{ item }}" dest="/etc/yum.repos.d/{{
item }}"
- with_items:
- - fedora-modular.repo
- - fedora-updates-modular.repo
- - fedora-updates-testing-modular.repo
- when: ansible_distribution == 'Fedora' and not
inventory_hostname.startswith('rawhide-test') and not
inventory_hostname.startswith(('buildvm-s390x', 'buildvm-ppc64le')) and
datacenter != "aws"
- tags:
- - config
- - packages
- - yumrepos
-
-- name: put fedora repos on secondary architecture systems
- template: src="{{ files }}/common/{{ item }}-secondary"
dest="/etc/yum.repos.d/{{ item }}"
- with_items:
- - fedora.repo
- - fedora-updates.repo
- - fedora-updates-testing.repo
- when: ansible_distribution == 'Fedora' and (ansible_architecture ==
'ppc64' or ansible_architecture == 'ppc64le' or ansible_architecture ==
's390x') and datacenter != "aws"
- tags:
- - config
- - packages
- - yumrepos
-
-- name: put fedora repos on secondary architecture systems
- template: src="{{ files }}/common/{{ item }}-secondary"
dest="/etc/yum.repos.d/{{ item }}"
- with_items:
- - fedora-modular.repo
- - fedora-updates-modular.repo
- - fedora-updates-testing-modular.repo
- when: ansible_distribution == 'Fedora' and
ansible_distribution_major_version|int >= 29 and (ansible_architecture ==
'ppc64le' or ansible_architecture == 's390x') and datacenter !=
"aws"
- tags:
- - config
- - packages
- - yumrepos
-
-- name: add aarch64 server rpms repo
- copy: src="{{ files }}/common/rhel-{{ ansible_distribution_major_version|int
}}-aarch64-server-rpms.repo" dest="/etc/yum.repos.d/rhel-{{
ansible_distribution_major_version|int }}-aarch64-server-rpms.repo"
- when: (ansible_distribution == 'RedHat' or ansible_distribution ==
'CentOS') and inventory_hostname.startswith('aarch64-c') and
ansible_distribution_major_version|int >= 7 and datacenter != "aws"
- tags:
- - config
- - packages
- - yumrepos
- name: add infrastructure tags repo - RHEL
copy: src="{{ files }}/common/rhel-infra-tags.repo"
dest="/etc/yum.repos.d/infra-tags.repo"
Show replies by date