A quick display of using Ansible with a disposable VM via Vagrant.
This should be easy and consistent to replicate on a variety of development environments.
- VirtualBox
- Vagrant
- Ansible
Install using package managers on your respective OS or see dependency sites for details.
git clone https://github.com/jeinnovate/vargant-ansible-demo.git
vagrant up
You should now be able to see “It works!” at http://localhost:8000/.
vagrant ssh
You can modify the playbook.yml
and Vagrantfile
to test.
vagrant provision
vagrant destroy