OULibraries / ansible-role-centos7

Base CentOS7 role for OULib.
MIT License
0 stars 1 forks source link

sometimes tries to install nonexistant kernel-headers and kernel-devel packages #23

Closed lo5an closed 7 years ago

lo5an commented 7 years ago

Sometimes, we get a new CentOS kernel release with no update to kernel-devel or kernel-headers. Right now, for example:

$ rpm -qa | grep kernel
kernel-devel-3.10.0-514.2.2.el7.x86_64
kernel-tools-libs-3.10.0-514.2.2.el7.x86_64
kernel-tools-3.10.0-514.2.2.el7.x86_64
kernel-headers-3.10.0-514.2.2.el7.x86_64
kernel-3.10.0-327.el7.x86_64
kernel-3.10.0-327.22.2.el7.x86_64

This results in the role failing out on virtualbox while trying to install non-existent kernel-devel or kernel-headers packages.

lo5an commented 7 years ago

Temp duct tape is to add ignore_errors: yes to the relevant tasks.

jsnshrmn commented 7 years ago

duct-taped by commit dda9527