Ansible Role repo_opensearch¶
This role deploys the Opensearch Package Repository.
Mandatory Role Variables¶
repo_opensearch__version__host_var / repo_opensearch__version__group_var
The version of the Opensearch repository which should be installed. One of
'2.x'or'3.x'. For the usage inhost_vars/group_vars(can only be used in one group at a time).Type: String.
Example:
# mandatory
repo_opensearch__version__host_var: '2.x'
Optional Role Variables¶
repo_opensearch__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_opensearch__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_opensearch__basic_auth_login:
username: 'my-username'
password: 'linuxfabrik'
repo_opensearch__mirror_url: 'https://mirror.example.com'