AdnanHodzic.system-upgrade

Ansible Role: (Ubuntu) System Upgrade

Perform upgrade of all software packages on Ubuntu host.

This Ansible role will perform upgrade of all software packages on Ubunty host. After which it will reboot host (only if required). If reboot was performed, it'll wait until host is back-up.

  • Update APT cache
  • Check if there are any available updates
  • Perform upgrade of all packages to the latest version (dist)
  • Check if a reboot is required, if it is reboot the host/server
  • Wait for server to come back after reboot, and report once it's back-up and running.

This role was created as part of containerized-wordpress-project

Requirements

None.

Role Variables

None.

Dependencies

None.

Example Playbook

- hosts: servers
  remote_user: ubuntu # optional
  gather_facts: yes
  become: yes

  roles:
    - { role: AdnanHodzic.system-upgrade }

License

GPLv3

Since I'm working on this project in free time, please consider supporting this project by making a donation of any amount!

PayPal

paypal

BitCoin

bc1qlncmgdjyqy8pe4gad4k2s6xtyr8f2r3ehrnl87

bitcoin

About

Perform upgrade of all software packages on Ubuntu or Debian host.

Install
ansible-galaxy install AdnanHodzic.system-upgrade
GitHub repository
License
gpl-3.0
Downloads
370
Owner
Tech Lead at ING (Data & AI on GCP) | Google Developer Expert (Cloud) | Created a few cool OSS projects like auto-cpufreq | More info: https://adnan.hodzic.org