docs: def reqs_yml(self):
          """
          Export a requirements file in yml format.
          """
          default_yml_item = """
  - src:     '%src'
    name:    '%name'
    scm:     '%scm'
    version: '%version'
  """
  
          role_lines = "---\n"
          for role in sorted(self.report["roles"]):
              name = utils.normalize_role(role, self.config)
              galaxy_name = "{0}.{1}".format(self.config["scm_user"], name)
              yml_item = default_yml_item
  
              if self.config["scm_host"]:
                  yml_item = yml_item.replace("%name",
                                              "{0}".format(galaxy_name))
                  if self.config["scm_repo_prefix"]:
                      role = self.config["scm_repo_prefix"] + name
  
                  src = os.path.join(self.config["scm_host"],
                                     self.config["scm_user"], role)
              else:
                  src = galaxy_name
                  yml_item = yml_item.replace("  name: '%name'\n", "")
                  yml_item = yml_item.replace("  scm: '%scm'\n", "")
  
              yml_item = yml_item.replace("%src", src)
  
              if self.config["scm_type"]:
                  yml_item = yml_item.replace("%scm", self.config["scm_type"])
              else:
                  yml_item = yml_item.replace("  scm: '%scm'\n", "")
  
              version_path = os.path.join(self.roles_path, role, "VERSION")
              version = utils.get_version(version_path)
              yml_item = yml_item.replace("%version", version)
  
              role_lines += "{0}".format(yml_item)
  
          if self.out_file:
              utils.string_to_file(self.out_file, role_lines)
          else:
              print role_lines