yumrepos: ARMv7 is identical to x86 now it's primary so there's no reason to treat it differently
This commit is contained in:
parent
edcc26aeeb
commit
b43a3f8a49
4 changed files with 2 additions and 95 deletions
|
@ -21,25 +21,13 @@
|
|||
- packages
|
||||
- yumrepos
|
||||
|
||||
- name: put fedora repos on x86 systems
|
||||
- name: put fedora repos on primary architecture systems
|
||||
action: copy 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 (ansible_architecture == 'x86_64' or ansible_architecture == 'i386')
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
- yumrepos
|
||||
|
||||
- name: put fedora repos on arm systems
|
||||
action: copy src="{{ files }}/common/{{ item }}-arm" dest="/etc/yum.repos.d/{{ item }}"
|
||||
with_items:
|
||||
- fedora.repo
|
||||
- fedora-updates.repo
|
||||
- fedora-updates-testing.repo
|
||||
when: ansible_distribution == 'Fedora' and ansible_architecture == 'armv7l' and not inventory_hostname.startswith('arm03')
|
||||
when: ansible_distribution == 'Fedora' and (ansible_architecture == 'x86_64' or ansible_architecture == 'i386' or ansible_architecture == 'armv7l')
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue