new files from source

This commit is contained in:
thesabear committed 2026-06-09 10:20:07 +03:00
commit 973546647d
132 files changed
+5335

No files matched your search

@@ -0,0 +1,32 @@
---
- name: Package management tasks
tags: [packages]
block:
- name: Clean all cached metadata
ansible.builtin.command: dnf clean all
become: true
- name: Rebuild the DNF cache
ansible.builtin.command: dnf makecache
become: true
- name: Update all packages to latest
ansible.builtin.dnf:
name: "*"
state: latest
update_cache: true
become: true
- name: Reboot if kernel was upgraded
ansible.builtin.reboot:
reboot_timeout: 120
pre_reboot_delay: 10
when: ansible_facts.packages['kernel'] is defined
become: true
- name: Install base system packages
ansible.builtin.package:
name: "{{ base_packages }}"
state: present
update_cache: true
become: true