fix: rename roles to use underscores instead of hyphens which was causing the roles not to be found

This commit is contained in:
2026-04-14 15:19:21 -04:00
parent b2379e597e
commit 62f4a3ea73
31 changed files with 31 additions and 31 deletions

View File

@@ -0,0 +1,22 @@
---
- name: Update and upgrade apt packages (Debian/Ubuntu)
ansible.builtin.apt:
upgrade: true
update_cache: true
cache_valid_time: 21600 # 6 hours
- name: Remove unused packages
ansible.builtin.apt:
autoremove: true
purge: true
- name: Check if reboot required
ansible.builtin.stat:
path: /var/run/reboot-required
register: reboot_required_file
- name: Call reboot handler if reboot required
ansible.builtin.debug:
msg: "Reboot is required"
when: reboot_required_file.stat.exists
notify: Reboot system