Ansible Role dnf_makecache

This role ensures that the DNF-makecache Systemd service and timer are disabled.

Runs on

  • RHEL 8 (and compatible)

  • RHEL 9 (and compatible)

Tags

Tag

What it does

dnf_makecache

Manages the dnf-makecache service and timer

Optional Role Variables

Variable

Description

Default Value

dnf_makecache__service_enabled

Enables or disables the DNF-makecache service, analogous to systemctl enable/disable --now.

false

dnf_makecache__timer_enabled

Enables or disables the DNF-makecache timer, analogous to systemctl enable/disable --now.

false

Example:

# optional
dnf_makecache__service_enabled: false
dnf_makecache__timer_enabled: false

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich