From 3fbe4521169a7cbffc99a620a0a25b2b2d76f5a1 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 15 Nov 2019 16:41:33 +0000 Subject: [PATCH] yumrepos: try and adjust for secondary/primary stuff. Signed-off-by: Kevin Fenzi --- tasks/yumrepos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index 1256081db3..0fc5a2d1b2 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -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