Ansible Role linuxfabrik.lfops.repo_remi¶
This role deploys the Remi's RPM repository.
Mandatory Requirements¶
- For RHEL7, install
yum-utils. This can be done using the linuxfabrik.lfops.yum_utils role.
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 allrepo_*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_urlto allow easily setting the same URL for allrepo_*roles. Iflfops__repo_mirror_urlis 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'