pporada-gl / ansible-role-cve

Mitigates CVE-2016-5195 aka DirtyCOW

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role: CVE

Ansible Galaxy License

This role mitigates/patches the defined CVEs.


Role Variables

Dirty COW vuln. http://dirtycow.ninja. Defaults to false. This mitigation will need to be run everytime the server it has been applied on restarts.

    cve_2016_5195: false

Example Playbook

---
- hosts: localhost
  connection: local
  become: true
  become_method: sudo

  vars:
    cve_2016_5195: true

  roles:
    - ../ansible-role-cve

How to hack away at this role

Before submitting a PR, please create a test and run it through test-kitchen.

git clone git@github.com:pgporada/ansible-role-cve.git
bundle install
bundle exec kitchen create
bundle exec kitchen converge
bundle exec kitchen verify
bundle exec kitchen destroy

Author Information

Phil Porada


License

MIT

(c) 2016 GreenLancer.com

About

Mitigates CVE-2016-5195 aka DirtyCOW

License:MIT License


Languages

Language:Shell 89.2%Language:Ruby 10.8%