Having trouble trying to dynamically set host on a task at runtime.
Basically I want to set the host dynamically when task is run.   I
tried set with a block, but no luck.

For example, I want this....

  task :mount_ebs, :hosts => host do
    sudo "mkdir /ebs1"
    sudo "mount -t xfs /dev/sdh /ebs1"
  end

where host is dynamically generated at task run time....

any help greatly appreciated

--~--~---------~--~----~------------~-------~--~----~
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.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to