yumrepos: Fedora hosts primary vs. secondary simplification
The old way of setting Fedora repos was not idempotent for vmhost-p09-copr01.rdu-cc.fedoraproject.org (was considered both primary and secondary). And it appears this would be the same for all Fedora s390x/ppc64le boxes.
This commit is contained in:
parent
be63b58958
commit
2effd14627
|
@ -82,7 +82,7 @@
|
|||
- fedora.repo
|
||||
- fedora-updates.repo
|
||||
- fedora-updates-testing.repo
|
||||
when: ansible_distribution == 'Fedora' and not inventory_hostname.startswith(('buildvm-s390x', 'buildvm-ppc64le','bvmhost-p09','buildvmhost-s390x-01')) and not inventory_hostname.startswith('rawhide-test') and datacenter != "aws"
|
||||
when: ansible_distribution == 'Fedora' and ansible_architecture not in ['ppc64le', 's390x'] and datacenter != "aws"
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
@ -94,7 +94,7 @@
|
|||
- fedora.repo
|
||||
- fedora-updates.repo
|
||||
- fedora-updates-testing.repo
|
||||
when: ansible_distribution == 'Fedora' and (ansible_architecture == 'ppc64le' or ansible_architecture == 's390x') and datacenter != "aws"
|
||||
when: ansible_distribution == 'Fedora' and ansible_architecture in ['ppc64le', 's390x'] and datacenter != "aws"
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
|
Loading…
Reference in New Issue