yumrepos: try and adjust for secondary/primary stuff.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-11-15 16:41:33 +00:00 committed by Pierre-Yves Chibon
parent bb230eb4ae
commit 3fbe452116

View file

@ -45,7 +45,7 @@
- fedora.repo
- fedora-updates.repo
- fedora-updates-testing.repo
when: ansible_distribution == 'Fedora' and not inventory_hostname.startswith('arm03') and not inventory_hostname.startswith('rawhide-test')
when: ansible_distribution == 'Fedora' and not inventory_hostname.startswith(('buildvm-s390x', 'buildvm-ppc64le')) and not inventory_hostname.startswith('rawhide-test')
tags:
- config
- packages
@ -57,7 +57,7 @@
- fedora-modular.repo
- fedora-updates-modular.repo
- fedora-updates-testing-modular.repo
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version >= 29 and not inventory_hostname.startswith('rawhide-test')
when: ansible_distribution == 'Fedora' and not inventory_hostname.startswith('rawhide-test') and not inventory_hostname.startswith(('buildvm-s390x', 'buildvm-ppc64le'))
tags:
- config
- packages