← All projects

Centralised Linux Patching with Ansible

Infrastructure automation

Built centralised Linux patching workflows with staged updates, reboot handling and per-host reporting.

Accepted for production

Outcome

Per-host patch results identify failed or unreachable Linux servers that need follow-up.

AnsibleUbuntuRHEL-family LinuxSSH

The task

Ubuntu and RHEL servers require consistent patch execution, controlled reboot behaviour and clear records of systems that fail or cannot be reached.

My contribution

Developed and implemented centralised Ansible patching, including inventories, SSH-based access, security/full update options, conditional reboot handling and host-level reporting.

Implementation

  • Created Ansible inventories and playbooks for Ubuntu and RHEL-family systems, with staged execution by server tier.
  • Provided security-only and full update options to support different maintenance requirements.
  • Configured SSH-key access and checked privilege escalation before patch execution.
  • Included conditional reboot handling when required by the update workflow.
  • Generated per-host logs and recorded package, privilege, repository and connectivity errors for follow-up.
  • Tested the playbooks through controlled runs and check-mode validation during subsequent maintenance.

Result

The solution provides a repeatable Linux patching process, records the outcome for each host and makes failed or unreachable servers visible for remediation.

Project scope

Patch success is assessed per server and run. A dry run validates execution logic but does not install updates.

Discuss this project