Skip to content

About

Vagrant config for Play framework with included MySQL server, orchestrated with Ansible.

Resources

Stars

22 stars

Watchers

4 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

#Play framework and Vagrant with some Ansible magic

A simple Vagrant config with Play Framework, Ansible and MySQL server that gets you started quickly with a working example. When deployed, the folder structure will look like this:

  • yourrepo/
    • frameworks/
      • play-2.2.3/
    • project/
      • example_project
    • provision/
      • templates/
      • ansible_hosts
      • playbook.yml
    • ansible.cfg
    • Vagrantfile

##Requirements

##Getting Started

git clone git@github.com:torbjokv/play-vagrant.git yourrepo && cd yourrepo && vagrant up

This takes time. Grab a coffee - or two!

vagrant ssh -c "cd project && play ~run"

When it's ready, go to your browser and enter http://localhost:9000/ Le voilà!

##Tips and tricks

  • If the filesystem is slow, set NETWORK_FILE_SYSTEM to true in the Vagrantfile, reboot the VM ("vagrant halt; vagrant up") and enter your root password.

##Problems?

Vagrant and ansible have good dokumentation at http://docs.vagrantup.com/v2 and http://docs.ansible.com/

Bitdeli Badge githalytics.com alpha

About

Vagrant config for Play framework with included MySQL server, orchestrated with Ansible.

Resources

Stars

22 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors