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

Commit 62ac780

Browse files
committed
Ensure CentOS Vault repositories list is up to date
1 parent 4f0a6f2 commit 62ac780

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tasks/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
---
22

3+
- name: Ensure CentOS Vault repositories list is up to date
4+
package:
5+
name: centos-release
6+
state: latest # noqa 403
7+
retries: 10
8+
delay: 1
9+
when: ansible_distribution == 'CentOS'
10+
311
- name: Get available kernel versions with YUM
412
command: yum list --enablerepo=C7.* --showduplicates kernel
513
changed_when: false

0 commit comments

Comments
 (0)