Ben's personal blogging on technical stuff
sudo -i
yum clean all
yum install rhui-azure-rhel8-ansible
yum install ansible
sudo -i
yum install scap-security-guide
cd /usr/share/scap-security-guide/ansible/
ls -la rhel8-playbook-cis*
Choose whether you want to run the CIS Level 1 Server playbook “rhel8-playbook-cis_server_l1.yml” or the CIS Level 2 Server playbook “rhel8-playbook-cis.yml”
ansible-playbook -i "localhost," -c local rhel8-playbook-cis.yml
or
ansible-playbook -i "localhost," -c local rhel8-playbook-cis_server_l1.yml