refactor ♻️: Refactor task to use ansible.builtin.apt for compatibility #9

Merged
Jose merged 6 commits from dev into main 2026-02-12 18:29:11 +01:00
2 changed files with 16 additions and 0 deletions
Showing only changes of commit 7e738cfbec - Show all commits

View File

@@ -3,6 +3,9 @@
# Main tasks for role
# ===================
- name: Install api utilities
ansible.builtin.import_tasks: utilities.yml
Review

[Lines 6-7] [Score: 3] Renaming two tasks with similar functionality might cause confusion in the future. Consider using a more descriptive name for clarity.

[Lines 6-7] [Score: 3] Renaming two tasks with similar functionality might cause confusion in the future. Consider using a more descriptive name for clarity.
- name: Disable enterprise repo, enable no-subscription
ansible.builtin.import_tasks: repos.yml

13
tasks/utilities.yml Normal file
View File

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