ansible privilege escalation ( sudo su - )

i have command sudo su - is working fine when we do ssh to the server. BTW we were unable to execute the same through ansible.

Here is my ansible playbook and ansible.cfg

You manually use sudo but the in your playbook you use su?

Please read again carefully
https://docs.ansible.com/ansible/latest/user_guide/become.html

can you provide the correct method for my situation ?

Probably - but only if you provide the details how privilege
escalation is configured on your target host.