
Ansible playbook to patch OpenSSL against CVE-2014-0291 and CVE-2015-0204 on Red Hat family servers, with automated service restart and verification.
Patch openssl with ansible
pip install ansible
ansible-playbook -i your_inventory_file patch-openssl-CVE-2015-0291_CVE-2015-0204
your_inventory_file just need to contain your server list :
192.168.0.10
webserver1.example.com
webserver2.example.com
db1.example.com
% openssl version -a
% rpm -q --changelog openssl | grep CVE-2015-0291
% rpm -q --changelog openssl | grep CVE-2015-0204