Jack Moore

Email: jack(at)jmoore53.com
Project Updates

Patching Server for Homelab

08 Sep 2022 » code, infrastructure, docker

Patching Server for Homelab

Keeping your servers up-to-date is crucial for security and performance. Here’s a simple Ansible playbook to help you patch your homelab servers efficiently:

- hosts: servers
  tasks:
    - name: Update cache 
      apt:
        update_cache: yes
        
    - name: Upgrade all packages on servers
      apt: 
        name: "*"
        state: latest
© Jack Moore - This site was last built Fri 30 Aug 2024 12:31:24 PM EDT