upgrade_packages
Upgrade Packages ansible role
Ansible role to upgrade all packages, process package manager cleanup, and reboot host if needed.
Requirements
None.
Role Variables
Available variables are listed below, along with default values (see defaults/main.yml):
Variable | Description | Default |
---|---|---|
upgrade_packages_all | Upgrade all packages | true |
upgrade_packages_reboot_if_needed | Reboot host if needed | true |
Dependencies
None.
Example Playbook
---
- hosts: servers
roles:
- { role: dtoch56.upgrade_packages }
License
MIT / BSD
Author Information
This role was created in 2021 by dtoch.56.
Development
pip install pipenv
pipenv install
ansible-playbook main.yml --ask-become-pass