arillso.system.yum_repositories role – Manage YUM repositories on Red Hat-based systems.

Note

This role is part of the arillso.system collection (version 0.0.34).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install arillso.system.

To use it in a playbook, specify: arillso.system.yum_repositories.

Entry point main – Manage YUM repositories on Red Hat-based systems.

Synopsis

  • This role facilitates the management and configuration of YUM repositories on Red Hat-based systems.

  • It allows for setting various repository attributes such as base URL, GPG keys, enabled state, and more.

Parameters

Parameter

Comments

yum_repositories_async

boolean

Determines whether repository operations should be asynchronous.

Choices:

  • false ← (default)

  • true

yum_repositories_bandwidth

integer

Limit for downloading packages.

Default: 0

yum_repositories_baseurl

string

Base URL for the repository.

yum_repositories_keepalive

boolean

Determines whether to use keepalive for repository connections.

Choices:

  • false ← (default)

  • true

yum_repositories_keepcache

boolean

Whether to keep the cache of headers and packages after successful installation.

Choices:

  • false ← (default)

  • true

yum_repositories_list

list / elements=dictionary

A list of YUM repositories to be managed. Each entry is a dictionary defining the repository details.

yum_repositories_metadata_expire

integer

Time (in seconds) after which the metadata will expire.

Default: 21600

yum_repositories_metadata_expire_filter

string

Filter for the metadata expiration.

string

URL to the metalink file for the repository.

yum_repositories_mirrorlist

string

URL to the mirror list for the repository.

yum_repositories_mirrorlist_expire

integer

Time (in seconds) after which the mirror list will expire.

Default: 21600

yum_repositories_mode

string

File mode of the .repo file on disk.

yum_repositories_module_hotfixes

boolean

Whether to enable module hotfixes for the repository.

Choices:

  • false ← (default)

  • true

yum_repositories_name

string

Name of the repository.

yum_repositories_owner

string

Owner of the .repo file on disk.

yum_repositories_password

string

Password for accessing the repository.

yum_repositories_priority

integer

Priority of the repository.

yum_repositories_protect

boolean

Whether to protect the repository.

Choices:

  • false ← (default)

  • true

yum_repositories_proxy

string

Proxy server URL for accessing the repository.

yum_repositories_proxy_password

string

Password for the proxy server.

yum_repositories_proxy_username

string

Username for the proxy server.

yum_repositories_repo_gpgcheck

boolean

Whether to perform GPG checks on the repository.

Choices:

  • false

  • true ← (default)

yum_repositories_reposdir

string

Directory where the .repo files are located.

yum_repositories_retries

integer

Number of retries for repository operations.

yum_repositories_s3_enabled

boolean

Whether to enable S3 support for the repository.

Choices:

  • false ← (default)

  • true

yum_repositories_selevel

string

SELinux level for the repository configuration file.

yum_repositories_serole

string

SELinux role for the repository configuration file.

yum_repositories_setype

string

SELinux type for the repository configuration file.

yum_repositories_seuser

string

SELinux user for the repository configuration file.

yum_repositories_skip_if_unavailable

boolean

Whether to skip the repository if it is unavailable.

Choices:

  • false ← (default)

  • true

yum_repositories_ssl_check_cert_permissions

boolean

Whether to check SSL certificate permissions.

Choices:

  • false ← (default)

  • true

yum_repositories_sslcacert

string

Path to the SSL CA certificate.

yum_repositories_sslclientcert

string

Path to the SSL client certificate.

yum_repositories_sslclientkey

string

Path to the SSL client key.

yum_repositories_sslverify

boolean

Whether to perform SSL verification for repository URLs.

Choices:

  • false

  • true ← (default)

yum_repositories_state

string

State of the repository (e.g., ‘present’, ‘absent’).

Default: "present"

yum_repositories_throttle

string

Bandwidth throttle for downloading packages.

yum_repositories_timeout

integer

Timeout for repository operations.

Default: 30

yum_repositories_ui_repoid_vars

string

Variables used in the UI for representing the repository.

yum_repositories_unsafe_writes

boolean

Whether to perform unsafe writes to the repository configuration.

Choices:

  • false ← (default)

  • true

yum_repositories_username

string

Username for accessing the repository.