Task - 04: Create a Python Module (py_ans_pro) that can execute an Ansible Playbook by taking the following input parameters: playbook file (site.yml), inventory file (hosts), private key. Use Ansible Python API.
Example:
py_ans_pro.provision('site.yml', 'hosts', '/Users/rnella01/ec2-admin.pem')