I use my roles vars/main.yml with ansible-vault, please change this variable for you enviroment
Change hosts file for yourself
- In this roles i use 2 section ansible_nodes, ansible_vmware.
- * ansible_nodes - Use this for CIS Benchmark your OS hardening.
- * ansible_vmware - Use this section to create your virtual machine from your vmware template.
ansible-playbook VMfromTemplare.yml # for create vmware machine
ansible-playbook CISforCentOS8.yml # for deploy CIS to virtual machine