How do I invoke one Capistrano task from another?
For example:
task :foo do # stuff end task :bar do # INVOKE :foo end
If the task lives in another namespace, you can use find_and_execute_task instead.
find_and_execute_task