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