Install modular repos on Fedora 29+ systems
This commit is contained in:
parent
7222aba905
commit
d566722087
7 changed files with 186 additions and 0 deletions
|
@ -43,6 +43,18 @@
|
|||
- 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 ansible_distribution_major_version >= 29 and (ansible_architecture == 'aarch64' or ansible_architecture == 'x86_64' or ansible_architecture == 'i386' or ansible_architecture == 'armv7l') and not inventory_hostname.startswith('arm03') and not inventory_hostname.startswith('wiki01.stg')
|
||||
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:
|
||||
|
@ -55,6 +67,18 @@
|
|||
- 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 >= 29 and (ansible_architecture == 'ppc64le' or ansible_architecture == 's390x')
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
- yumrepos
|
||||
|
||||
- name: add aarch64 server rpms repo
|
||||
copy: src="{{ files }}/common/rhel-7-aarch64-server-rpms.repo" dest="/etc/yum.repos.d/rhel-7-aarch64-server-rpms.repo"
|
||||
when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and inventory_hostname.startswith('aarch64-c')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue