Set it to "security" for status quo ante for most hosts, and "default" for debuginfod* hosts.
60 lines
1.8 KiB
Django/Jinja
60 lines
1.8 KiB
Django/Jinja
[commands]
|
|
# What kind of upgrade to perform:
|
|
# default = all available upgrades
|
|
# security = only the security upgrades
|
|
upgrade_type = {{ dnf_automatic_type }}
|
|
random_sleep = 300
|
|
|
|
# Whether updates should be downloaded when they are available.
|
|
download_updates = yes
|
|
|
|
# Whether updates should be applied when they are available.
|
|
# Note that if this is set to no, downloaded packages will be left in the
|
|
# cache regardless of the keepcache setting.
|
|
apply_updates = yes
|
|
|
|
|
|
[emitters]
|
|
# Name to use for this system in messages that are emitted. Default is the
|
|
# hostname.
|
|
# system_name = my-host
|
|
|
|
# How to send messages. Valid options are stdio, email and motd. If
|
|
# emit_via includes stdio, messages will be sent to stdout; this is useful
|
|
# to have cron send the messages. If emit_via includes email, this
|
|
# program will send email itself according to the configured options.
|
|
# If emit_via includes motd, /etc/motd file will have the messages.
|
|
# If emit_via is None or left blank, no messages will be sent.
|
|
# Default is email,stdio.
|
|
emit_via = email
|
|
|
|
# The width, in characters, that messages that are emitted should be
|
|
# formatted to.
|
|
output_width = 80
|
|
|
|
|
|
[email]
|
|
# The address to send email messages from.
|
|
email_from = root
|
|
|
|
# List of addresses to send messages to.
|
|
email_to = root
|
|
|
|
# Name of the host to connect to to send email messages.
|
|
email_host = localhost
|
|
|
|
|
|
[base]
|
|
# This section overrides dnf.conf
|
|
|
|
# Use this to filter DNF core messages
|
|
debuglevel = 1
|
|
{% if inventory_hostname.startswith('pkgs') %}
|
|
# exclude jq-1.6-3.el8
|
|
# as it's causing segfaults in https pushes
|
|
# by running out of memory
|
|
exclude = jq-1.6-3.el8
|
|
{% endif %}
|
|
{% if inventory_hostname.startswith('buildvm-a32') %}
|
|
exclude = kernel-core*,kernel-modules*
|
|
{% endif %}
|