From 686bda6a211b0c71fd4b119dc7d9b3aeda900de4 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Mon, 23 Dec 2024 22:12:44 +0100 Subject: [PATCH] Correzione per ruolo pip. --- roles/pip/tasks/main.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/roles/pip/tasks/main.yml b/roles/pip/tasks/main.yml index e19b281..8e8f726 100644 --- a/roles/pip/tasks/main.yml +++ b/roles/pip/tasks/main.yml @@ -2,12 +2,10 @@ # Verifying pip is installed. - name: Installing pip - ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml" - args: - apply: - tags: - - pip - - pip-install + ansible.builtin.package: + name: python3-pip + state: present + become: true tags: - pip - pip-install