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
Should your server have access to internet to generate ansible playbook?
do we have CIS Benchmark for SUSE linux
Hi Sir, Can you tell how can i attach an iam role to ec2 instance using ansible.
Great explanation, thank you!
how to specify podman image in ansible hosts file? localhost not working for images. Kindly help
If someone is running ansible for the 1st time via SSH use the following command ansible-playbook -i host playbook.yml –private-key=OS_name.pem -u [username] –become
I'm stuck at the ansible part, can't do ssh any guide that I can follow?