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