yum

Source Code Build Status License: MIT

Setup yum-cron and yum repositories.


Default Variables

yum_cron_apply_updates

Default value

yum_cron_apply_updates: no

yum_cron_custom_cronjob

Default value

yum_cron_custom_cronjob:
  enabled: false
  name: yum-cron
  minute: 0
  hour: 4
  day: '*'
  weekday: '*'
  month: '*'

yum_cron_download_updates

Default value

yum_cron_download_updates: yes

yum_cron_email_from

Default value

yum_cron_email_from: root@localhost

yum_cron_email_to

Default value

yum_cron_email_to: root

yum_cron_emit_via

Default value

yum_cron_emit_via: stdio

yum_cron_enabled

Default value

yum_cron_enabled: true

yum_cron_random_sleep

Default value

yum_cron_random_sleep: 360

yum_deltarpm_percentage

Default value

yum_deltarpm_percentage: 75

yum_deltarpm_value

Configure deltarmp. To get it working you have to install deltarpm package first! Value set to 0 means disabled. A positive value defines the number of reconstruction made in parallel. A negative value asks yum to figure out how many cores are available and to multiply them by the given value to get the number of reconstruction to make in parallel.

Default value

yum_deltarpm_value: 0

yum_packages_install

Default value

yum_packages_install: []

yum_packages_install_extra

Default value

yum_packages_install_extra: []

yum_packages_uninstall

Default value

yum_packages_uninstall: []

yum_repofiles_remove

Default value

yum_repofiles_remove: []

yum_repositories

Default value

yum_repositories: []

Example usage

yum_repositories:
  - name: epel
    filename: Extra-EPEL
    desc: Extra Packages for Enterprise Linux (EPEL)
    baseurl: "http://download.fedoraproject.org/pub/epel/$releasever/$basearch/"
    gpgkey: "http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-$releasever/"
    enabled: True

yum_repositories_extra

Default value

yum_repositories_extra: []

yum_upgrade_enabled

Default value

yum_upgrade_enabled: false

Dependencies

None.