Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit a318984

Browse files
committed
Fix listing package on CentOS8
1 parent 47b7778 commit a318984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
when: install_kernel_headers | bool
5252

5353
- name: Get available kernel versions with DNF
54-
command: dnf list --enablerepo=* --showduplicates kernel
54+
command: dnf list --enablerepo=* --disablerepo=media-* --showduplicates kernel
5555
changed_when: false
5656
args:
5757
warn: false

0 commit comments

Comments
 (0)