From 7e738cfbec7b2e8067e0f444a3e66667eeaa7f5e Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 12 Feb 2026 18:08:57 +0100 Subject: [PATCH] =?UTF-8?q?feat=20=E2=9C=A8:=20Add=20tasks=20for=20importi?= =?UTF-8?q?ng=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