Ansible Role linuxfabrik.lfops.repo_icinga¶
This role deploys the Icinga Package Repository.
Mandatory Requirements¶
- For RHEL (and compatible) hosts an Icinga Repo Subscription is required.
Tags¶
repo_icinga
- Deploys the Icinga Package Repository.
- Triggers: none.
Optional Role Variables¶
repo_icinga__basic_auth_login
- Use HTTP basic auth to login to the repository. Use this if you have an Icinga Subscription. 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_icinga__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("") }}'
repo_icinga__use_subscription_url
- Only relevant for OpenSUSE & SLES. Set this to
trueif you are using an Icinga Subscription. Changes the repository URLs to point to/subscription/sles. Also works in conjunction withrepo_icinga__mirror_url. - Type: Bool.
- Default:
false
Example:
# optional
repo_icinga__basic_auth_login:
username: 'my-username'
password: 'linuxfabrik'
repo_icinga__mirror_url: 'https://mirror.example.com'
repo_icinga__use_subscription_url: true