Skip to content
Snippets Groups Projects
Commit 1fd4e05c authored by Mark Goddard's avatar Mark Goddard
Browse files

dnf: Remove workaround for uppercase repo files

I8bf75ce44b9ec1fdd477fcddf2deebf2929d9fc1 added a workaround to remove
incorrectly named DNF repository files.

This workaround has been in place since the Antelope release and can now
be removed.

Change-Id: I7ba61ffa8aaabcedf1c5249e5f39f39257410f9a
parent bd9043dc
No related branches found
No related tags found
No related merge requests found
......@@ -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: []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment