Note: Use deploy user
sudo apt install python3-dev libffi-dev gcc libssl-dev && sudo apt install python3-pip python3-venv && sudo pip3 install -U pip
git clone https://github.com/kubernetes-sigs/kubespray.git
python3 -m venv kubespray/
cd kubespray/
source bin/activate
git checkout v2.22.1
pip install -r requirements.txt