From 4a4d241fc14225d9c57c866a7e5da0557b57b0b7 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 24 Sep 2024 12:43:25 +0200 Subject: [PATCH] Support Ubuntu 24.04. --- tasks/py3_deb.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/py3_deb.yml b/tasks/py3_deb.yml index bfe23a3..0ddf578 100644 --- a/tasks/py3_deb.yml +++ b/tasks/py3_deb.yml @@ -25,6 +25,13 @@ - not py3_env_ppa_enabled - ansible_distribution_version is version_compare('22.04', '==') + - name: Python minor version of Ubuntu 24.04 + ansible.builtin.set_fact: + py3_env_minor_version: '12' + when: + - not py3_env_ppa_enabled + - ansible_distribution_version is version_compare('24.04', '==') + - name: Manage the python packages tags: [python, py3_env, py3_env_pkgs, python3, py3_apt] when: py3_env_install