Closed zneel closed 6 years ago
Right now, Ansistrano only supports out-of-the-box shared folders / files relative to the deploy_to path as you can see in https://github.com/ansistrano/deploy/blob/master/tasks/symlink-shared.yml
Provided the NFS is already mounted, it is trivial to do a ansistrano_before_symlink_shared_tasks_file or ansistrano_after_symlink_shared_tasks_file hook with similar instructions pointing to your desired src
Hello guys I'm deploying a Symfony App on a cluster setup and I need to set the shared folder on a NFS via a symlink like so:
deploy_path/shared -> /shared/prod/<appname>
So I can share uploads/config files between apps. I've been trying with the hooks but no luck so far, any idea how to do it ?Thanks in advance