Bash Python - klagan/learning GitHub Wiki
# install python and ansible
sudo apt update
sudo apt install -y curl python3 python3-pip
# install ansible for a user
# python3 -m pip install --user ansible
sudo apt install ansible
# install community.general collection
sudo ansible-galaxy collection install community.general
# fix bad pip3 installation
python3 -m pip install --upgrade --force-reinstall pip