diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index 772e44d0f4..3836f3cad0 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -58,7 +58,7 @@ - yumrepos - name: add infrastructure tags repo - RHEL - copy: src="{{ files }}/common/rhel-infra-tags.repo" dest="/etc/yum.repos.d/{{ item }}" + copy: src="{{ files }}/common/rhel-infra-tags.repo" dest="/etc/yum.repos.d/infra-tags.repo" when: ansible_distribution == 'RedHat' tags: - config @@ -66,7 +66,7 @@ - yumrepos - name: add infrastructure tags repo - Fedora - copy: src="{{ files }}/common/fedora-infra-tags.repo" dest="/etc/yum.repos.d/{{ item }}" + copy: src="{{ files }}/common/fedora-infra-tags.repo" dest="/etc/yum.repos.d/infra-tags.repo" when: ansible_distribution == 'Fedora' tags: - config