diff --git a/tasks/py3_deb.yml b/tasks/py3_deb.yml index 0ddf578..c96a65f 100644 --- a/tasks/py3_deb.yml +++ b/tasks/py3_deb.yml @@ -48,7 +48,9 @@ - name: Manage the python pip packages tags: [python, py3_env, py3_env_pkgs, python3, py3_pip] - when: py3_env_install + when: + - py3_env_install + - ansible_distribution_version is version_compare('22.04', '<=') block: - name: Remove info of deb python packages so that they can be upgraded using pip file: