Skip to content

Ansible Role linuxfabrik.lfops.repo_rpmfusion

This role deploys the RPM Fusion free and nonfree Repositories.

Available since LFOps 3.0.0.

How the Role Behaves

  • The role deploys the repositories and GPG keys of the host's EL major release, on RHEL 8, 9 and 10 and their rebuilds.
  • The rpmfusion-free-updates and rpmfusion-nonfree-updates repositories are enabled. The testing, debug and source repositories are deployed, but disabled.

Dependent Roles

Any LFOps playbook that installs this role runs these for you. Optional ones can be disabled via the playbook's skip variables.

Tags

repo_rpmfusion

  • Deploys the RPM Fusion Repository.
  • Triggers: none.

Optional Role Variables

repo_rpmfusion__basic_auth_login

  • Use HTTP basic auth to login to the repository. Only takes effect together with a custom mirror URL; the default public repositories do not use basic auth. Defaults to lfops__repo_basic_auth_login, making it easy to set this for all repo_* roles.
  • Type: Dictionary.
  • Default: '{{ lfops__repo_basic_auth_login | d("") }}'
  • Subkeys:

    • password:

      • Mandatory. Password.
      • Type: String.
    • username:

      • Mandatory. Username.
      • Type: String.

repo_rpmfusion__mirror_url

  • Set the URL to a custom mirror server providing the repository. Defaults to lfops__repo_mirror_url to allow easily setting the same URL for all repo_* roles. If lfops__repo_mirror_url is not set, the default mirrors of the repo are used.
  • Type: String.
  • Default: '{{ lfops__repo_mirror_url | d("") }}'

Example:

# optional
repo_rpmfusion__basic_auth_login:
  username: 'my-username'
  password: 'linuxfabrik'
repo_rpmfusion__mirror_url: 'https://mirror.example.com'

Troubleshooting

repo_rpmfusion does not support <distribution> <release>

  • The role ships repository files for RHEL 8, 9 and 10 and their rebuilds only. Fedora has its own RPM Fusion release packages, which this role does not deploy.

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich