Setting up playbook, for updating system packages
Some checks failed
Wiki Resources Sanity Checks / ruff-checks (push) Failing after 1s

This commit is contained in:
2026-05-18 23:30:48 -07:00
parent 771596968a
commit 5fdb2f0e18
6 changed files with 31 additions and 11 deletions

View File

@@ -0,0 +1,17 @@
---
- name: Ensure latest system updates are applied to the host
hosts: shockrah.xyz
remote_user: webadmin
tasks:
- name: Run system upgrade and update cache
become: true
ansible.builtin.apt:
update_cache: true
upgrade: safe
- name: Reboot Host Trigger
tags:
- reboot
ansible.builtin.debug:
msg: "Rebooting host now"
notify: Reboot Host