Hi all -
I've got a task that needs to know which server it's currently being
executed on. Is there a variable containing this value that the task
can get at? e.g.,
task :foobar, :roles => app do
echo "I'm running on the server #{fetch(:something)}"
end
I could get this info by parsing out `hostname` or something, but was
hoping to avoid that... is there a "current_session" or something?
Thanks,
tom
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---