anirban1c / vagrant-multimachine-ansible

A vagrant provisioning for multi-machine with ansible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vagrant-multimachine-ansible

A vagrant provisioning for multi-machine with ansible

vagrant host requirements

  • vagrant -v Vagrant 1.7.1
  • py3.4 with the following
  • ansible==2.2.0.0
  • rednose==1.2.1
  • requests==2.12.1

hosts

  • web1.dev - nginx webserver
  • app1.dev - appserver
  • app2.dev - appserver
  1. Add box to ensure faster load times puppetlabs/ubuntu-14.04-64-nocm (virtualbox, 1.0.3)
  2. Edit the ip to your hosts correct submit - 198.162.1.xxx
  3. Bringing up all the servers vagrant up web1 vagrant up app1 vagrant up app2
  4. Test from the host (ensure you have added the ssh private keys to the host first) nosetests -v --rednose
  5. If everything works and no errors A sample application to get all the road works by road name http://web1.dev
  6. Few basic server stats are also available at http://web1.dev/status

TODO

  • Add a db server and persists searchs
  • Add more tests to check for ngnix, ip etc

About

A vagrant provisioning for multi-machine with ansible


Languages

Language:Python 55.5%Language:Shell 23.0%Language:HTML 16.8%Language:Ruby 4.6%