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

pgporada/ansible-role-cve

Repository files navigation

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