From aa760f16c295b873621a301783b1530ce2b3f841 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 8 May 2018 19:45:38 +0000 Subject: [PATCH] more adjustments --- tasks/yumrepos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index 6526c444ef..7cc26ea8ed 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -37,7 +37,7 @@ - fedora.repo - fedora-updates.repo - fedora-updates-testing.repo - when: ansible_distribution == 'Fedora' and (ansible_architecture == 'aarch64' or ansible_architecture == 'x86_64' or ansible_architecture == 'i386' or ansible_architecture == 'armv7l') and not inventory_hostname.startswith('arm03') and not inventory_hostname.startswith('wiki01.stg') and ansible_distribution_major_version < 28 + when: ansible_distribution == 'Fedora' and (ansible_architecture == 'aarch64' or ansible_architecture == 'x86_64' or ansible_architecture == 'i386' or ansible_architecture == 'armv7l') and not inventory_hostname.startswith('arm03') and not inventory_hostname.startswith('wiki01.stg') and ansible_distribution_major_version|int < 28 tags: - config - packages @@ -49,7 +49,7 @@ - fedora.repo - fedora-updates.repo-28 - fedora-updates-testing.repo-28 - when: ansible_distribution == 'Fedora' and (ansible_architecture == 'aarch64' or ansible_architecture == 'x86_64' or ansible_architecture == 'i386' or ansible_architecture == 'armv7l') and not inventory_hostname.startswith('arm03') and ansible_distribution_major_version > 27 + when: ansible_distribution == 'Fedora' and (ansible_architecture == 'aarch64' or ansible_architecture == 'x86_64' or ansible_architecture == 'i386' or ansible_architecture == 'armv7l') and not inventory_hostname.startswith('arm03') and ansible_distribution_major_version|int >= 28 tags: - config - packages