FuliCuli/init is base repository to generate a fully functional development environment. For now, it configures servers for node.js application but you can easily create your own playbooks to handle others types of need.
You have to install Virtualbox (and its Extension Pack) and Vagrant
Instead of clone our repository, fork it.
Launch the command :
vagrant up
It will download and install this Debian VM.
Sync these directories :
- Local ./ with VM /home/init/
- Local ~/.ssh/ with VM /root/.ssh/ and ~vagrant/.ssh/
- Local ../ with VM /var/www/
Then, install Submodules.
Finally, it will run the Server Playbook.
Edit the sample configuration by your own into the file ansible/group_vars/all. For the dev environment, you can customize with the file ansible/host_vars/localhost (only the dist file will keep in the repository).
vagrant ssh
cd /home/init && ansible-playbook -i dev website.yml -t web --connection=local
git fetch upstream && git merge upstream/master && git submodule update
You have to be aware that you can have conflicts, if so, then handle.
git submodule foreach git pull -q origin master
FuliCuli/init use FuliCuli/ansible-roles repository to handle ansible roles. If you need more roles, you can ask here, you can also fork it and make a pull request to add your own roles.