For a long time, Capifony was, without any doubt, the facto option for deploying Symfony2 applications. Capifony is a ruby gem based in Capistrano v2, an open source tool for running scripts on multiple servers with a deployment flow built-in. It’s primary use is for easily deploying applications. While it was built specifically for deploying Rails apps, it’s pretty simple to customize it to deploy other types of applications. At that time, alternatives were shell scripting or Fabric. Now there’s a better one, Ansistrano.
Capistrano v3 were released but without the features of its previous version. v2 was not maintained anymore, so that was a problem for the ones using Capistrano v2 for deploying. Then the whole DevOps started with Puppet, Chef and Ansible. With this provisioning systems, executing remote commands is so easy, specially if you are not Sysadmin, that thinking about using another tool is not worthy. So, why don’t put together the best of both worlds? Why don’t put together the power of Ansible and its community and the easy flow of Capistrano v2 for deploying apps?
Today, I’m happy to announce Ansistrano, an Ansible role for deploying and rollbacking your PHP (and another scripting language Ruby, Python, NodeJS, etc.) apps. It has almost 200 stars on Github and some companies already using it. Ricard Clau (@ricardclau), project’s cofounder, is showing us how easy can be deploying Silex applications with Ansistrano. Please, help us spread the love.