issue in switching user from playbook module

I am running a playbook to change the user but i am getting error as FAILED! => {“msg”: "Timeout (12s) waiting for privilege
escalation prompt: "}
I am able to run this as manual command on server but cant able to login

name: Test me
shell : ‘whoami’
become: true
become_method: su
become_user: root
gather_facts: no
ansible_become_pass: “r00t”
delegate to : “{{serevr1}}”