Role Detail

AdnanHodzic.system-upgrade

Perform upgrade of all software packages on Ubuntu host
Downloads
51
Type Ansible
Minimum Ansible Version 2.0
Installation $ ansible-galaxy install AdnanHodzic.system-upgrade
Tags
development
packages
system
ubuntu
upgrade
Last Commit
Last Imported
OS Platforms
Platform Version
Ubuntu artful
Ubuntu lucid
Ubuntu maverick
Ubuntu natty
Ubuntu oneiric
Ubuntu precise
Ubuntu quantal
Ubuntu raring
Ubuntu saucy
Ubuntu trusty
Ubuntu utopic
Ubuntu vivid
Ubuntu wily
Ubuntu xenial
Ubuntu yakkety
Ubuntu zesty
Last 10 Imports
Completed Status
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS

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

None