sparknsh.patching
Ansible Role: Patching
Version: 1.2.0
This project is developed in a private repository and then released to GitLab and GitHub when there's a new version. If you encounter any problems, please reach out to sparknsh.
Role Variables
Below are the available variables with their default values (refer to defaults/main.yml
):
patching__audit_packages: false
This variable allows you to see what packages were installed and updated on each server.
patching__upgrade_all: false
patching__repo_clean: true
By default, updates will always run. If you want to perform an upgrade instead, change the variable to disable the update and run the upgrade instead. patching__repo_clean
will remove old files from your server.
patching__update_security: false
RHEL distributions allow you to only apply security updates. Set this to True to only patch security updates.
Coming Soon
- Reboot support in Version 1.3.0
- Fedora Support in Version 1.5.0
Example Playbook
- hosts: all
vars_files:
- vars/main.yml
roles:
- { role: sparknsh.patching }
License
MIT
Author Information
This role was created in 2019 by sparknsh at Rebel Media, Inc.