cancel
Showing results for 
Search instead for 
Did you mean: 

capistrano deploy to one server and rsync to another servers

capistrano deploy to one server and rsync to another servers

 

I'm using capistrano to deploy Magento 2 application. We want to deploy to one server first (qa1), and after deployment is finished on the first server, then we want to rsync the deployment on second and third server (qa2 and qa3 paralelly).

Even when I did this:

server 'qa1.f.com', roles: %w{app db web}, user: 'ubuntu', primary: true
server 'qa2.f.com', roles: %w{}, user: 'ubuntu'
server 'qa3.f.com', roles: %w{}, user: 'ubuntu'
it deploys to all servers.