Some basic ansible scripts to deploy web apps
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
inv
roles/my-project
.gitignore
LICENSE
README.md
play.my-project.yml

README.md

Deployment with Ansible

This repository contains some basics ideas to deploy web apps. For more detailed information have a look at my related blog post.

Usage Examples

Deploy your code to all configured web servers.

ansible-playbook -i inv/integration/hosts --extra-vars "version=1.0.1 app=/some/local/dir/app/" play.my-project.yml

Rollback to a previously deployed version.

ansible-playbook -i inv/integration/hosts --extra-vars "version=1.0.0" -tags rollback play.my-project.yml