Ansible role to deploy Symfony2 application.
It can deploy via rsync
, git
, svn
and mercurial
, generate parameters.yml
if needed, run php app/console
commands you defined.
It make capifony-like directory structure:
root
releases
release
shared
web/uploads
app/config
app/logs
current
You need to install git, php, composer before run this role.
ansible-galaxy install igor_mukhin.symfony2
- hosts: all
vars:
symfony2_release: 1
symfony2_name: project
symfony2_domain: "project.com"
symfony2_repo: [email protected]:repo/project.git
roles:
- igor_mukhin.symfony2
MIT