From 51de5aa269a52e3141555507a83ad322b9e7576c Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 3 Oct 2024 21:08:47 +0200 Subject: [PATCH] dd --- roles/mgrote_pip_pre_tasks/tasks/main.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/roles/mgrote_pip_pre_tasks/tasks/main.yml b/roles/mgrote_pip_pre_tasks/tasks/main.yml index 1a2cd905..fb0bc76e 100644 --- a/roles/mgrote_pip_pre_tasks/tasks/main.yml +++ b/roles/mgrote_pip_pre_tasks/tasks/main.yml @@ -1,13 +1,7 @@ --- # Remove EXTERNALLY-MANAGED file if we're on Debian12 # Related issue: https://github.com/geerlingguy/ansible-role-pip/issues/57 -- name: Get python3 version installed - ansible.builtin.command: python3 --version - register: py3ver - changed_when: false - - name: Remove EXTERNALLY-MANAGED ansible.builtin.file: path: /usr/lib/python3.11/EXTERNALLY-MANAGED state: absent - when: py3ver is defined and py3ver.stdout.find("3.11") != -1