Hi everyone,

When I tried to do this:
1. remove the target server from my nginx upstream 
2. reload nginx
3. restart my app server #
4. add back to nginx upstream
5. reload nginx.

 Because I declared a ROLES or HOSTS env, all commands are running at the app 
server. The env hide the :roles => :nginx I passed into the `run` `download` 
methods.
For some reasons I can not declare :roles => on the task, which means I must 
use the env vars to declare which host I want to deploy.
How can do this?



Best regards.

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to