mullholland.os_updates
Ansible Role os_updates
This is an Ansible role for installing OS updates.
| GitHub | Downloads | Version |
|---|---|---|
Example Playbook
This example is from molecule/default/converge.yml and is tested every time code is pushed, pulled, or released.
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: "mullholland.os_updates"
Role Variables
Default values for variables are found in defaults/main.yml:
---
# Possible Values
# ALWAYS = Always restart after updates
# NEVER = Never restart after updates
# NEEDED = Only restart after kernel updates
os_updates_reboot: "NEEDED"
# YUM
# specify packages that should not be upgraded
os_updates_yum_exclude: ""
os_updates_yum_clean_cache: true
# APT
# specify packages that should not be upgraded
os_updates_apt_exclude: []
os_updates_apt_autoremove: true
# restart options
os_updates_reboot_delay: 30
os_updates_reboot_timeout: 300
Requirements
- Python packages listed in requirements.txt.
Context
This role works with many other compatible roles. For more information, check the documentation of these roles.
Here are related roles:

Compatibility
This role has been tested on the following container images:
| Container | Tags |
|---|---|
| EL | all |
| Amazon | Candidate |
| Fedora | all |
| Ubuntu | all |
| Debian | all |
The minimum required Ansible version is 2.10. Tests have been conducted on:
- Previous version
- Current version
- Development version
If you find any issues, please report them on GitHub.
License
MIT.
Author Information
Informazioni sul progetto
Ansible role to install OS updates.
Installa
ansible-galaxy install mullholland.os_updatesLicenza
apache-2.0
Download
8.7k
Proprietario
