diff --git a/tasks/main.yml b/tasks/main.yml index 728f8db12ee9ae9dd1682c43d9d61ffbc0e26fee..8de04d415ae2e9878478564f48c92883e607c121 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -413,7 +413,7 @@ # -------------------------------------------------- - name: PROD Install Debian OS packages apt: - name: ['python3-pip', 'python3-setuptools', 'python3.8-venv'] + name: ['python3-pip', 'python3-setuptools', 'python3.{{ ansible_python["version"]["minor"] }}-venv'] state: latest update_cache: true force: true @@ -425,7 +425,7 @@ - name: PROD Check Installed Debian OS packages apt: - name: ['python3-pip', 'python3-setuptools', 'python3.8-venv'] + name: ['python3-pip', 'python3-setuptools', 'python3.{{ ansible_python["version"]["minor"] }}-venv'] state: latest update_cache: true force: true