First i have to say that im not familiar with ruby so perhaps this is
a dumb question but i didn't found any solution for my problem even
after overlooking ruby syntax:

Lets say i add a custom parameter to my role like in this example

role :myrole1,  "[EMAIL PROTECTED]", :foo=>"bar"

Is it possible to access this extra parameter in my task like::

task :mytest, :roles => :myrole1
    run "echo #{foo}"
end

Thanx in Advance

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to