Ansible must be installed ;-) Recommend: install ansible via pip
pip3 install ansible
if pip noch installed see:
apt install -y python3-pip
yum install -y python3-pip