I've been trying to use the Ansible Python API as explained in their official docs here. The problem is, when I call main() Ansible returns an error saying:
the connection plugin '<class 'ansible.utils.sentinel.Sentinel'>' was not found
I'm running ansible-base version 2.10.8.
I've been stuck with this for two days now. I saw someone with the same issue over at Ansible's github page here and it seems like they don't even support their own Python API.
Can anyone suggest how I could solve this problem?