cbrunnkvist / ansistrano-symfony-deploy

Common post-deploy tasks for Symfony projects, using ansistrano (a Capistrano-style Ansible role)
MIT License
68 stars 26 forks source link

FIX Permissions #27

Closed malutanpetronel closed 5 years ago

malutanpetronel commented 5 years ago

In the capistrano I was having some writable folders and permission settings .. run "sudo chown -R #{user}:#{webserver_user} #{deploy_to}" run "sudo chown -RH root:www-data #{latest_release}/#{cache_path}" .. Is there anything included here?

scuben commented 5 years ago

You can use the hooks to run additional tasks. In those you are free to run anything you like including some permission changes.

piotrkochan commented 4 years ago

@scuben it is impossible to use the hooks because they are already overriden by ansistrano-symfony-deploy

scuben commented 4 years ago

@piotrkochan Only two are used by this library. But in additional we also provide hooks to hook into the process. See https://github.com/cbrunnkvist/ansistrano-symfony-deploy/blob/master/config/after_symlink_shared.yml