From 63c2526d93a9cd1f4378b24b04b545eb85903d2c Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 24 Nov 2018 19:57:14 +0000 Subject: [PATCH] Fix up logic a bit. --- tasks/yumrepos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index 1d823d8ee0..f658ceb903 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -105,7 +105,7 @@ - name: add infrastructure tags repo - Fedora copy: src="{{ files }}/common/fedora-infra-tags.repo" dest="/etc/yum.repos.d/infra-tags.repo" - when: ansible_distribution == 'Fedora' and not in groups['maintainer-test'] + when: ansible_distribution == 'Fedora' and inventory_hostname not in groups['maintainer-test'] tags: - config - packages