Skip to content

o10g/ansible-role-symfony2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-role-symfony2

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

Requirements

You need to install git, php, composer before run this role.

Installation

ansible-galaxy install igor_mukhin.symfony2

Usage

- hosts: all
  vars:
    symfony2_release: 1
    symfony2_name: project
    symfony2_domain: "project.com"
    symfony2_repo: git@github.com:repo/project.git

  roles:
    - igor_mukhin.symfony2

License

MIT

About

Capifony-like symfony2 deploying ansible role

Resources

License

Stars

Watchers

Forks

Packages

No packages published