A tool and python library that helps when interfacing with Ansible
https://github.com/ansible/ansible-runner