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