Capture ansible playbook command line

For auditing purpose we would like to capture all ansible playbook commands being run by another team. How do I approach this?

Ideally we would like to assign it same pid as rest of the play and be part of ansible.log

Basically capture entire below command or everything after ansible-playbook:

ansible-playbook -i hosts dosomething.yaml --extra-vars ‘{“hostgroup”:“webservers”,“web_app”:[“uploads”]}’

see script(1). it starts a logged shell. when you exit, it leaves a file called typescript where you ran it.