diff --git a/ansible/roles/dnf/tasks/local-mirror.yml b/ansible/roles/dnf/tasks/local-mirror.yml index da25a034b512ca45113497a72171a4ba4b657afe..33aaa4384c2042b49b408cfef12406371a54f1ae 100644 --- a/ansible/roles/dnf/tasks/local-mirror.yml +++ b/ansible/roles/dnf/tasks/local-mirror.yml @@ -13,19 +13,6 @@ - "{{ repo_file_prefix }}.repo" - "{{ repo_file_prefix }}-extras.repo" -# TODO(bbezak): remove following task in B release -- name: Remove incorrect uppercase repo files - vars: - repo_file_prefix: "{{ ansible_facts.distribution }}{% if ansible_facts.distribution == 'CentOS'%}-Stream{% endif %}" - file: - path: /etc/yum.repos.d/{{ item }} - state: absent - become: True - loop: - - "{{ repo_file_prefix }}-AppStream.repo" - - "{{ repo_file_prefix }}-BaseOS.repo" - - "{{ repo_file_prefix }}-Extras.repo" - - name: Update cache dnf: name: []