Do you mean something like: x = "target_host.com" role :comps, x
? Then, yes, you can do that :) It's all just Ruby code, so whatever is legal Ruby syntax, is also legal in a capfile. If I misunderstood, please let me know. A more concrete use-case would be helpful, too, to know what you need the feature for. - Jamis Johnnie Walker wrote: > Hi guys, newbie question here.... > > role :comps, "target_host.com" > > Is it possible to pass the value "target_host.com" from the line above > as a variable/parameter so it is not hard-coded? > > Thanks in advance > > JT. > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
