capistrano cheatsheet

# run task on particular host / server
cap HOSTS=foo.bar.com,baz.bar.com deploy
 
# run task on particular host / server AND respect roles
cap HOSTFILTER=foo.bar.com,baz.bar.com deploy
 
# run tasks for a particular role
cap ROLES=db deploy
 
# checkout a branch for only one host / server
cap HOSTFILTER=foo.bar.com -s branch=i18n deploy