public static List<TaskWorker> configRunners(DeployConfig config, String taskId, boolean undo) {
    List<TaskWorker> result = new ArrayList<TaskWorker>();
    boolean flag = true;
    
    Task task = config.getTasks().getTaskById(taskId);
  
    List<Server> servers = parseServers(config, task.getTargetServer());
    List<String> dbNames = parseDbNames(task.getTargetDatabase());
    List<String> sqls = parseSqls(task.getSqls(), undo);
    
    for (Server server : servers) {
      for (String dbName : dbNames) {
        result.add(new TaskWorker(server, dbName, sqls));
      }
    }
    
    return result;
  }