update_apt role – Update apt software

Note

This role is part of the ufrmath.computer_labs collection (version 1.0.0).

To install it use: ansible-galaxy collection install git+https://github.com/guillod/computer_labs.

To use it in a playbook, specify: ufrmath.computer_labs.update_apt.

Entry point main – Update apt software

Synopsis

  • Execute role patch_systemd to ensure candidate patched systemd is available;

  • Perform apt upgrade or apt dist-upgrade if dist_upgrade is set to yes;

  • Perform apt autoclean;

  • Perform apt autoremove;

  • Restart if required.

Parameters

Parameter

Comments

build_path

string

path where to build systemd

Default: "/tmp/systemd"

delegate_build_to

string

host on which to build systemd

Default: "localhost"

dist_upgrade

boolean

perform a dist-upgrade, otherwise a simple upgrade is done

Choices:

  • false ← (default)

  • true

software_server

string

host on which to upload patched systemd

Default: "tp-server"