Skip to content

Ansible Role linuxfabrik.lfops.repo_remi

This role deploys the Remi's RPM repository.

Mandatory Requirements

Tags

repo_remi

  • Deploys the Remi Repository.
  • Triggers: none.

Optional Role Variables

repo_remi__basic_auth_login

  • Use HTTP basic auth to login to the repository. Defaults to lfops__repo_basic_auth_login, making it easy to set this for all repo_* roles.
  • Type: String.
  • Default: '{{ lfops__repo_basic_auth_login | default("") }}'

repo_remi__enabled_php_version

  • The major and minor version of php for which the repository should be enabled. If variable is unset, none of the remi-repo versions will be activated.
  • Type: String.
  • Default: unset

repo_remi__enabled_redis_version

  • The major and minor version of redis for which the repository should be enabled. If variable is unset, none of the remi-repo versions will be activated.
  • Type: String.
  • Default: unset

repo_remi__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 | default("") }}'

Example:

# optional
repo_remi__basic_auth_login:
  username: 'my-username'
  password: 'linuxfabrik'
repo_remi__enabled_php_version: '8.1'
repo_remi__enabled_redis_version: '7.2'
repo_remi__mirror_url: 'https://mirror.example.com'

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich