Install Virtualbox, Vagrant and Ansible.
Create a new directory for your first Vagrant VM. In that directory, create a Vagrantfile using vagrant init, and enable the Ansible provisioner by adding the following.
config.vm.provision "ansible" do |ansible|
ansible.playbook = "playbook.yml"
end
Now you can create an Ansible playbook named playbook.yml file in the same directory as your Vagrantfile, and vagrant provision will run it. Here's an easy one to start with that will update NSS and add the EPEL and IUS repositories.