Deprecated
We've worked hard to make each role well documented with functional tests that run in travis and Docker. Please see each repository for information.
Here is a good example.
This repo is the main repo I use to test and upload my ansible roles.
git submodule update --init
git submodule foreach git pull
Install Vagrant.
Add ubuntu 13.10 box:
vagrant box add ubuntu-13.10 http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box
Run vagrant up
given the supplied Vagrantfile
.
If for whatever reason you need to re-provision run the ansible command below or run:
vagrant provision
Restart from fresh again:
vagrant destroy --force && vagrant up
If you're interested in knowing what command would initiate an ansible provision:
ansible-playbook playbook.yml
Want to test the nodejs playbook?
ansible-playbook playbook.yml --tags nodejs
- Ansible cannot ssh, as it reports security key issues.
- Remove the entry for
172.16.1.10
in~/.ssh/known_hosts
file
- Create an github issue