- requirements # sudo apt-get install sshpass -y (install on the Control node), needed when ansible_ssh_pass is defined - to run $ ansible-playbook vm-setup.yml $ ansible-playbook vm-clean.yml - if ansible.cfg & hosts weren't present or you wanted to override them, the full 'ansible-playbook' command would be: $ ansible-playbook - i "192.168.56.101, 192.168.56.102 192.168.56.103 192.168.56.104" ansible_user=root ansible_ssh_pass=foobar -e ‘{“user”: [{ "name": "root", "password": "Foobar64", "state": "present" }] }’ -e '{"packages":["curl","wget","vim","atop"]}' vm-setup.yml