From a87ce93ada27d5c6b7f7facde0de71346fad5f34 Mon Sep 17 00:00:00 2001 From: micafer Date: Fri, 3 Jul 2020 12:55:47 +0200 Subject: [PATCH] Fix ubuntu 20 --- contextualization/conf-ansible.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contextualization/conf-ansible.yml b/contextualization/conf-ansible.yml index 7525df8ad..f09c52d00 100644 --- a/contextualization/conf-ansible.yml +++ b/contextualization/conf-ansible.yml @@ -77,7 +77,7 @@ when: ansible_os_family == "Debian" and not (ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >= 20) - name: Install pip in in Ubuntu 20+ - shell: curl --insecure --silent --show-error --retry 5 https://bootstrap.pypa.io/get-pip.py | python creates=/usr/local/bin/pip warn=no + apt: name=python3-pip,python3-setuptools install_recommends=no when: ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >= 20 - name: Ubuntu 14 extra packages needed