deployer icon indicating copy to clipboard operation
deployer copied to clipboard

Parallel executing of task on multiple server + different config per server?

Open cerw opened this issue 9 years ago • 1 comments

Hello,

I am using multiple server to deploy app (DB,app, backend etc) and its executing tasks by task server by server, any change we can execute these tasks at the same time?

Also how about differnet .env for each server is that possible? (atm i am faking the DB host in /etc/hosts)

thanks

cerw avatar Sep 28 '16 07:09 cerw

Definitely something I want to do, just haven't figured out how to do it yet. I did play around with it for a while but my solution didn't work correctly so I needed to go back to the drawing board.

Hmm, had not thought about different files for each server, could be useful. One way you could do it currently I guess is set up the file and then add a "After Install" command to replace the DB host in the file using sed and only run it on the server you need a different value.

REBELinBLUE avatar Sep 29 '16 09:09 REBELinBLUE