rothgar / ansible-yum-security-updates

Automatically apply security updates to EPEL servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatic yum-security updates

Note

This is old code. I no longer use this role but am leaving this here for reference for anyone looking to do something similar. Also, as pointed out to me, this won't work on CentOS because CentOS repos don't tag packages for security updates

This Ansible playbook will automatically install two packages

  • yum-cron
  • yum-plugin-security (yum-security on rhel5)

It will then configure the packages to run yum updates using the yum --security update-minimal command every morning.

This will also enable install the EPEL repo if you're using RHEL5 or temporarily enable the rhel-6-server-optional-rpms repo for RHEL6. This will require that you are registered with RedHat.

About

Automatically apply security updates to EPEL servers