New in version 0.4.
Take a directory containing RPM packages and run createrepo command on it, which creates YUM repository metadata inside of it.
| parameter | required | description | type | default | choices | 
|---|---|---|---|---|---|
| repodir | yes | absolute or relative path to the directory containing RPM files (the task directory is considered the current working directory) | str | 
Standard output (string) of the createrepo process.
First, download all required RPMs, then create a YUM repository in that directory:
- name: download koji tag
  koji:
      action: download_tag
      koji_tag: ${koji_tag}
      arch: ${arch}
      target_dir: ${workdir}/downloaded_tag/
- name: create YUM repository metadata
  createrepo:
      repodir: ${workdir}/downloaded_tag/