Upgrade to minimum supported Python 3.6
Getting the following error on a fresh vagrant up:
default: Installing pip... (for Ansible installation)
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
curl https://bootstrap.pypa.io/get-pip.py | sudo python
Stdout from the command:
ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.6. Please use https://bootstrap.pypa.io/pip/2.7/get-pip.py instead.
Stderr from the command:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1911k 100 1911k 0 0 3185k 0 --:--:-- --:--:-- --:--:-- 3185k
Seems I am able to fix by simply supplying pip3 in Vagrantfile and running vagrant up --provision.