initial commit
commit
158eadb8d5
@ -0,0 +1,46 @@
|
||||
[commands]
|
||||
# What kind of upgrade to perform:
|
||||
# default = all available upgrades
|
||||
# security = only the security upgrades
|
||||
upgrade_type = default
|
||||
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.
|
||||
# Default is email,stdio.
|
||||
emit_via = stdio
|
||||
|
||||
|
||||
[email]
|
||||
# The address to send email messages from.
|
||||
email_from = root@example.com
|
||||
|
||||
# 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
|
@ -0,0 +1,8 @@
|
||||
- name: install dnf-automatic
|
||||
dnf: name=dnf-automatic state=present
|
||||
|
||||
- name: configure dnf-automatic
|
||||
copy: src=automatic.conf dest=/etc/dnf/
|
||||
|
||||
- name: enable dnf-automatic timer
|
||||
service: name=dnf-automatic.timer state=started enabled=yes
|
Loading…
Reference in New Issue