add yum-crons random sleep option
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2019-06-18 08:26:22 +02:00
parent a0e0e36911
commit e04363701d
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ yum_cron_download_updates: yes
yum_cron_email_from: root@localhost
yum_cron_email_to: root
yum_cron_emit_via: stdio
yum_cron_random_sleep: 360
# yum_repositories: (defaults to not set)
# epel:

View File

@ -27,7 +27,7 @@ apply_updates = {{ yum_cron_apply_updates }}
# times that multiple systems will access update servers. If
# random_sleep is 0 or negative, the program will run immediately.
# 6*60 = 360
random_sleep = 360
random_sleep = {{ yum_cron_random_sleep }}
[emitters]