roles - How to set multiple users for 1 server in Capistrano to run tasks being logged in with different accounts? -


i try run tasks different users on 1 server. possible solution create additional roles like

role :root, %w{root@ip} 

it works if run

cap stage deploy 

it fails, default tasks run on root role , though need role tasks only.

it there way define role default deploy task won't run on role?

i know question old found while googling problem i'll answer else finds question.

to keep out of release add no_release: true option. in example define root role this:

role :root, %w{root@ip}, no_release: true 

Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -