From 447bdfb2e1cfa3b8d31055722ee4fee09cf12506 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 12 Feb 2026 17:55:44 +0100 Subject: [PATCH 1/6] =?UTF-8?q?refactor=20=E2=99=BB=EF=B8=8F:=20Rename=20t?= =?UTF-8?q?ask=20from=20'Install,=20auto-tune,=20and=20make=20it=20persist?= =?UTF-8?q?ent'=20to=20'Install=20powrtop,=20auto-tune,=20and=20make=20it?= =?UTF-8?q?=20persistent'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refactored the task name to include the specific tool being installed (powrtop) for clarity. --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 1909bde..69a87f7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -15,5 +15,5 @@ - name: Stop logs from quietly murdering / ansible.builtin.import_tasks: logrotate.yml -- name: Install, auto-tune, and make it persistent +- name: Install powrttop, auto-tune, and make it persistent ansible.builtin.import_tasks: powertop.yml -- 2.49.1 From 5607aedbd8371aea25f228019b11072429d3343b Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 12 Feb 2026 17:56:27 +0100 Subject: [PATCH 2/6] =?UTF-8?q?fix=20=F0=9F=90=9B:=20Fix=20typo=20in=20tas?= =?UTF-8?q?k=20description?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Corrected a minor spelling error in the task description to improve clarity. --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 69a87f7..fb9e980 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -12,7 +12,7 @@ - name: Disable swap or tune it 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 - name: Install powrttop, auto-tune, and make it persistent -- 2.49.1 From 7e738cfbec7b2e8067e0f444a3e66667eeaa7f5e Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 12 Feb 2026 18:08:57 +0100 Subject: [PATCH 3/6] =?UTF-8?q?feat=20=E2=9C=A8:=20Add=20tasks=20for=20imp?= =?UTF-8?q?orting=20utilities.yml=20and=20installing=20system=20packages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit introduces two new tasks in the Ansible playbook. The first task imports a `utilities.yml` file, which likely contains reusable utility functions or configurations for API interactions. The second task installs necessary system packages required for the application to run smoothly. --- tasks/main.yml | 3 +++ tasks/utilities.yml | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 tasks/utilities.yml diff --git a/tasks/main.yml b/tasks/main.yml index fb9e980..7d4cae8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -3,6 +3,9 @@ # Main tasks for role # =================== +- name: Install api utilities + ansible.builtin.import_tasks: utilities.yml + - name: Disable enterprise repo, enable no-subscription ansible.builtin.import_tasks: repos.yml diff --git a/tasks/utilities.yml b/tasks/utilities.yml new file mode 100644 index 0000000..5c05a8e --- /dev/null +++ b/tasks/utilities.yml @@ -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 \ No newline at end of file -- 2.49.1 From e2f992a2faf5dd8e2b8def6e4c460cc33b308bb9 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 12 Feb 2026 18:10:04 +0100 Subject: [PATCH 4/6] =?UTF-8?q?chore=20=F0=9F=93=A6:=20Update=20build=20sc?= =?UTF-8?q?ripts=20for=20CI/CD=20pipeline?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the build scripts to ensure compatibility with the latest version of the CI/CD tooling and improved the overall efficiency of the pipeline. --- tasks/utilities.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/utilities.yml b/tasks/utilities.yml index 5c05a8e..226deae 100644 --- a/tasks/utilities.yml +++ b/tasks/utilities.yml @@ -10,4 +10,4 @@ - smartmontools - lm-sensors state: present - update_cache: yes \ No newline at end of file + update_cache: yes -- 2.49.1 From 9e1a8c8c9ed6ea31cea46842c1f082a9306d9c23 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 12 Feb 2026 18:17:43 +0100 Subject: [PATCH 5/6] =?UTF-8?q?refactor=20=E2=99=BB=EF=B8=8F:=20Refactor?= =?UTF-8?q?=20task=20to=20use=20ansible.builtin.apt=20for=20compatibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This refactoring updates the task to use `ansible.builtin.apt` instead of the deprecated module, ensuring compatibility with newer versions of Ansible. --- tasks/utilities.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/utilities.yml b/tasks/utilities.yml index 226deae..28d3b48 100644 --- a/tasks/utilities.yml +++ b/tasks/utilities.yml @@ -1,6 +1,6 @@ --- - name: utilities | Install required system packages - apt: + ansible.builtin.apt: name: - python3 - python3-pip -- 2.49.1 From 4edf66730ac83f0fc0d0ee8640ee583e19d2847e Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 12 Feb 2026 18:27:39 +0100 Subject: [PATCH 6/6] =?UTF-8?q?fix=20=F0=9F=90=9B:=20Fix=20typo=20in=20tas?= =?UTF-8?q?k=20name=20from=20'powrttop'=20to=20'powertop'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Corrected a typographical error in the task name, changing 'powrttop' to 'powertop'. This ensures consistency and accuracy in system monitoring tools. --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 7d4cae8..d0af9f3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -18,5 +18,5 @@ - name: Stop logs from quietly murdering the disk ansible.builtin.import_tasks: logrotate.yml -- name: Install powrttop, auto-tune, and make it persistent +- name: Install powertop, auto-tune, and make it persistent ansible.builtin.import_tasks: powertop.yml -- 2.49.1