Merge pull request 'refactor ♻️: Refactor task to use ansible.builtin.apt for compatibility' (#9) from dev into main
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 11s
Gitleaks Scan / gitleaks (push) Successful in 4s
Markdown Lint / markdown-lint (push) Successful in 5s

Reviewed-on: #9
This commit was merged in pull request #9.
This commit is contained in:
2026-02-12 18:29:11 +01:00
2 changed files with 18 additions and 2 deletions

View File

@@ -3,6 +3,9 @@
# Main tasks for role # Main tasks for role
# =================== # ===================
- name: Install api utilities
ansible.builtin.import_tasks: utilities.yml
- name: Disable enterprise repo, enable no-subscription - name: Disable enterprise repo, enable no-subscription
ansible.builtin.import_tasks: repos.yml ansible.builtin.import_tasks: repos.yml
@@ -12,8 +15,8 @@
- name: Disable swap or tune it - name: Disable swap or tune it
ansible.builtin.import_tasks: swap.yml ansible.builtin.import_tasks: swap.yml
- name: Stop logs from quietly murdering / - name: Stop logs from quietly murdering the disk
ansible.builtin.import_tasks: logrotate.yml ansible.builtin.import_tasks: logrotate.yml
- name: Install, auto-tune, and make it persistent - name: Install powertop, auto-tune, and make it persistent
ansible.builtin.import_tasks: powertop.yml ansible.builtin.import_tasks: powertop.yml

13
tasks/utilities.yml Normal file
View File

@@ -0,0 +1,13 @@
---
- name: utilities | Install required system packages
ansible.builtin.apt:
name:
- python3
- python3-pip
- python3-setuptools
- python3-proxmoxer
- python3-requests
- smartmontools
- lm-sensors
state: present
update_cache: yes