From 30cdc5a70756171fc06c2bb8df91095672a8b650 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Thu, 11 Nov 2021 22:07:22 +0100 Subject: [PATCH] try to fix the python version --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 65c92fc..2f2c3d8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -59,14 +59,14 @@ url: "https://bootstrap.pypa.io/get-pip.py" dest: "/tmp/get-pip.py" mode: "0644" - when: ansible_python_version > 3.5 + when: ansible_python_version | float > 3.5 - name: "Download Pip" get_url: url: "https://bootstrap.pypa.io/pip/3.5/get-pip.py" dest: "/tmp/get-pip.py" mode: "0644" - when: ansible_python_version == 3.5 + when: ansible_python_version | float == 3.5 - name: "Install pip" command: