Answerd at stack overflow: http://stackoverflow.com/a/15633170/119669
Lee Hambley -- http://lee.hambley.name/ On 26 March 2013 09:18, Jesper Rønn-Jensen <[email protected]> wrote: > Hi > > I need to add role/environment specific variables for a (legacy) > capistrano multi server, multi-role, multi-environment setup. > > > See example and details at http://stackoverflow.com/** > questions/15619945/capistrano-**how-to-access-a-** > serverdefinition-option-in-**the-code<http://stackoverflow.com/questions/15619945/capistrano-how-to-access-a-serverdefinition-option-in-the-code> > > How can I define a variable in my server configuration, which is > accessible from my tasks? > > Also I would appreciate any similar examples. Perhaps there is a simpler > way than the one I am pursuing here? > > Any feedback greatly appreciated :) > > /Jesper Rønn-Jensen > > -- > -- > * 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 > --- > You received this message because you are subscribed to the Google Groups > "Capistrano" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- * 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 --- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
