Initial commit. Add Inventory

This commit is contained in:
Lukas Greve
2025-10-24 12:32:10 +02:00
commit 7f68835677
5 changed files with 172 additions and 0 deletions

17
update.yml Normal file
View File

@@ -0,0 +1,17 @@
---
- name: Update system packages
hosts: gitrunner
become: yes
tasks:
- name: Update system packages
yum:
name: "*"
state: latest
update_cache: yes
- name: Force reboot after updates (safe for Rocky Linux)
reboot:
msg: "System reboot after package updates"
post_reboot_delay: 10
timeout: 300