def task(name, options = {}, &block)
      AvoDeploy::Deployment.instance.log.debug "registering task #{name}..."
      AvoDeploy::Deployment.instance.task_manager.add_task(name, options, &block)
    end
def task(name, options = {}, &block)
      AvoDeploy::Deployment.instance.log.debug "registering task #{name}..."
      AvoDeploy::Deployment.instance.task_manager.add_task(name, options, &block)
    end
Defines a task

 @param name [Symbol] task name
 @param options [Hash] task options
 @param block [Block] the code to be executed when the task is started