xoxys.yum/README.md

186 lines
3.2 KiB
Markdown
Raw Normal View History

2018-11-15 19:47:37 +00:00
# xoxys.yum
2019-10-19 14:44:39 +00:00
[![Build Status](https://drone.rknet.org/api/badges/ansible/xoxys.yum/status.svg)](https://drone.rknet.org/ansible/xoxys.yum)
2018-11-15 19:47:37 +00:00
2019-10-19 14:44:39 +00:00
Setup yum cron and yum repositories
## Table of content
* [Default Variables](#default-variables)
* [yum_cron_apply_updates](#yum_cron_apply_updates)
2019-11-21 10:44:36 +00:00
* [yum_cron_custom_cronjob](#yum_cron_custom_cronjob)
2019-10-19 14:44:39 +00:00
* [yum_cron_download_updates](#yum_cron_download_updates)
* [yum_cron_email_from](#yum_cron_email_from)
* [yum_cron_email_to](#yum_cron_email_to)
* [yum_cron_emit_via](#yum_cron_emit_via)
2019-11-21 10:44:36 +00:00
* [yum_cron_enabled](#yum_cron_enabled)
2019-10-19 14:44:39 +00:00
* [yum_cron_random_sleep](#yum_cron_random_sleep)
2019-11-21 10:44:36 +00:00
* [yum_deltarpm_percentage](#yum_deltarpm_percentage)
* [yum_deltarpm_value](#yum_deltarpm_value)
* [yum_packages_extra_install](#yum_packages_extra_install)
2019-10-19 14:44:39 +00:00
* [yum_packages_install](#yum_packages_install)
* [yum_packages_uninstall](#yum_packages_uninstall)
2019-11-21 10:44:36 +00:00
* [yum_repositories](#yum_repositories)
* [yum_upgrade_enabled](#yum_upgrade_enabled)
2019-10-19 14:44:39 +00:00
* [Dependencies](#dependencies)
* [License](#license)
* [Author](#author)
---
## Default Variables
2019-11-21 10:44:36 +00:00
### yum_cron_apply_updates
2019-10-19 14:44:39 +00:00
#### Default value
```YAML
2019-11-21 10:44:36 +00:00
yum_cron_apply_updates: no
2019-10-19 14:44:39 +00:00
```
### yum_cron_custom_cronjob
#### Default value
```YAML
yum_cron_custom_cronjob:
enabled: false
name: yum-cron
minute: 0
hour: 4
day: '*'
weekday: '*'
month: '*'
```
### yum_cron_download_updates
#### Default value
```YAML
yum_cron_download_updates: yes
```
### yum_cron_email_from
#### Default value
```YAML
yum_cron_email_from: root@localhost
```
### yum_cron_email_to
#### Default value
```YAML
yum_cron_email_to: root
```
### yum_cron_emit_via
#### Default value
```YAML
yum_cron_emit_via: stdio
```
2019-11-21 10:44:36 +00:00
### yum_cron_enabled
#### Default value
```YAML
yum_cron_enabled: true
```
2019-10-19 14:44:39 +00:00
### yum_cron_random_sleep
#### Default value
```YAML
yum_cron_random_sleep: 360
```
2019-11-21 10:44:36 +00:00
### yum_deltarpm_percentage
2019-10-19 14:44:39 +00:00
#### Default value
```YAML
2019-11-21 10:44:36 +00:00
yum_deltarpm_percentage: 75
2019-10-19 14:44:39 +00:00
```
2019-11-21 10:44:36 +00:00
### 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
2019-10-19 14:44:39 +00:00
```YAML
2019-11-21 10:44:36 +00:00
yum_deltarpm_value: 0
2019-10-19 14:44:39 +00:00
```
2019-11-21 10:44:36 +00:00
### yum_packages_extra_install
2019-10-19 14:44:39 +00:00
#### Default value
```YAML
2019-11-21 10:44:36 +00:00
yum_packages_extra_install: []
2019-10-19 14:44:39 +00:00
```
### yum_packages_install
#### Default value
```YAML
yum_packages_install: []
```
### yum_packages_uninstall
#### Default value
```YAML
yum_packages_uninstall: []
```
2019-11-21 10:44:36 +00:00
### yum_repositories
2019-10-19 14:44:39 +00:00
#### Default value
```YAML
2019-11-21 10:44:36 +00:00
yum_repositories: []
```
#### Example usage
```YAML
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_upgrade_enabled
#### Default value
```YAML
yum_upgrade_enabled: false
2019-10-19 14:44:39 +00:00
```
## Dependencies
None.
## License
MIT
## Author
2019-11-07 08:28:47 +00:00
[xoxys](https://gitea.rknet.org/xoxys)