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

Commit

Permalink
Ensure CentOS Vault repositories list is up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoutin committed Oct 3, 2019
1 parent 4f0a6f2 commit 62ac780
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
---

- name: Ensure CentOS Vault repositories list is up to date
package:
name: centos-release
state: latest # noqa 403
retries: 10
delay: 1
when: ansible_distribution == 'CentOS'

- name: Get available kernel versions with YUM
command: yum list --enablerepo=C7.* --showduplicates kernel
changed_when: false
Expand Down

0 comments on commit 62ac780

Please sign in to comment.