yumrepos: add support for aarch64 repos
This commit is contained in:
parent
09d8ff0a57
commit
b6ddb9feb3
4 changed files with 93 additions and 0 deletions
|
@ -45,6 +45,18 @@
|
|||
- packages
|
||||
- yumrepos
|
||||
|
||||
- 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
|
||||
|
||||
- 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