arillso.system.dnf_packages role – Manage DNF packages

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.dnf_packages.

Entry point install_dnf_package – Manage DNF packages

Synopsis

  • This specification manages the installation, upgrade, and removal of DNF packages on a system.

Parameters

Parameter

Comments

dnf_packages_allow_downgrade

boolean

Allow downgrading of packages.

Choices:

  • false ← (default)

  • true

dnf_packages_allowerasing

boolean

Allow erasing of installed packages.

Choices:

  • false ← (default)

  • true

dnf_packages_autoremove

boolean

Automatic removal of packages.

Choices:

  • false ← (default)

  • true

dnf_packages_bugfix

boolean

Limit updates to bugfix versions.

Choices:

  • false ← (default)

  • true

dnf_packages_cacheonly

boolean

Use only the cache.

Choices:

  • false ← (default)

  • true

dnf_packages_conf_file

string

Configuration file for DNF.

Default: "{{ omit }}"

dnf_packages_disable_gpg_check

boolean

Disable GPG check.

Choices:

  • false ← (default)

  • true

dnf_packages_disable_plugin

string

Plugins to disable.

Default: "{{ omit }}"

dnf_packages_disablerepo

string

Repositories to disable.

Default: "{{ omit }}"

dnf_packages_download_dir

string

Directory for downloading packages.

Default: "{{ omit }}"

dnf_packages_download_only

boolean

Download-only mode.

Choices:

  • false ← (default)

  • true

dnf_packages_enable_plugin

string

Plugins to enable.

Default: "{{ omit }}"

dnf_packages_enablerepo

string

Repositories to enable.

Default: "{{ omit }}"

dnf_packages_exclude

string

Packages to exclude.

Default: "{{ omit }}"

dnf_packages_install_repoquery

boolean

Install ‘repoquery’.

Choices:

  • false ← (default)

  • true

dnf_packages_install_weak_deps

boolean

Install weak dependencies.

Choices:

  • false

  • true ← (default)

dnf_packages_installroot

string

Installation root.

Default: "{{ omit }}"

dnf_packages_lock_timeout

integer

Lock timeout.

Default: 30

dnf_packages_nobest

boolean

Ignore best version of package.

Choices:

  • false ← (default)

  • true

dnf_packages_releasever

string

Release version.

Default: "{{ omit }}"

dnf_packages_security

boolean

Limit updates to security versions.

Choices:

  • false ← (default)

  • true

dnf_packages_skip_broken

boolean

Skip broken packages.

Choices:

  • false ← (default)

  • true

dnf_packages_sslverify

boolean

SSL verification.

Choices:

  • false

  • true ← (default)

dnf_packages_state

string

Default package state (present, absent, latest).

Default: "present"

dnf_packages_update_cache

boolean

Update the cache.

Choices:

  • false

  • true ← (default)

dnf_packages_update_only

boolean

Update-only mode.

Choices:

  • false ← (default)

  • true

dnf_packages_validate_certs

boolean

Validate certificates.

Choices:

  • false

  • true ← (default)

Entry point main – Manage DNF packages

Synopsis

  • This specification manages the installation, upgrade, and removal of DNF packages on a system.

Parameters

Parameter

Comments

dnf_packages_list

list / elements=dictionary

A list of dictionaries specifying Chocolatey packages to manage.

Default: []

allow_downgrade

boolean

Allow downgrading of packages.

Choices:

  • false

  • true

allowerasing

boolean

Allow erasing of installed packages.

Choices:

  • false

  • true

autoremove

boolean

Automatic removal of packages.

Choices:

  • false

  • true

bugfix

boolean

Limit updates to bugfix versions.

Choices:

  • false

  • true

cacheonly

boolean

Use only the cache.

Choices:

  • false

  • true

conf_file

string

Configuration file for DNF.

disable_gpg_check

boolean

Disable GPG check.

Choices:

  • false

  • true

disable_plugin

string

Plugins to disable.

disablerepo

string

Repositories to disable.

download_dir

string

Directory for downloading packages.

download_only

boolean

Download-only mode.

Choices:

  • false

  • true

enable_plugin

string

Plugins to enable.

enablerepo

string

Repositories to enable.

exclude

string

Packages to exclude.

install_repoquery

boolean

Install ‘repoquery’.

Choices:

  • false

  • true

install_weak_deps

boolean

Install weak dependencies.

Choices:

  • false

  • true

installroot

string

Installation root.

lock_timeout

integer

Lock timeout.

nobest

boolean

Ignore best version of package.

Choices:

  • false

  • true

releasever

string

Release version.

security

boolean

Limit updates to security versions.

Choices:

  • false

  • true

skip_broken

boolean

Skip broken packages.

Choices:

  • false

  • true

sslverify

boolean

SSL verification.

Choices:

  • false

  • true

state

string

Default package state (present, absent, latest).

update_cache

boolean

Update the cache.

Choices:

  • false

  • true

update_only

boolean

Update-only mode.

Choices:

  • false

  • true

validate_certs

boolean

Validate certificates.

Choices:

  • false

  • true