OpenScap: Generate Ansible playbook to remediate CIS benchmark in centos 8 | Part 2

    9
    7



    Checkout PART 1 to set your server up ready for part 2 (this video)

    Subscribe To Me On YouTube: https://bit.ly/lon_sub

    PART 1: https://youtu.be/08Wwof68cxU

    You can use OpenScap generate an Ansible playbook to remediate your servers and enforce CIS compliance on Centos 8.

    What’s covers:

    • Create the report required to generate Ansible code
    • Use Openscap to generate our ansible playbook
    • Use our Ansible playbook to enforce the CIS benchmark
    • Review the new report and confirm it’s worked!

    Gist with all commands: https://gist.github.com/dmccuk/9ea12f6d30dc4bcd1991e8e30c2d1b89

    source

    Previous articleWrite Ansible Playbooks with YAML – Ansible Playbook Example
    Next articleWinRM – How to import certificates

    7 COMMENTS