Playbook can't run

Hello everyone. I have an issue reaching my ubuntu server. I am having this feedback each time I run my playbook:

root@dev:/etc/ansible# ansible-playbook update.yml

PLAY[play] *******************************************************************************

TASK [Gathering Facts] ******************************************************************
fatal: [target_name]: FAILED! => {“msg”: “Incorrect sudo password”}

PLAY RECA***************************************************************************
target_name : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Can anyone give me a clue how to resolve this problem please?
Any help will be much appreciated.
Thank you

Gentle

Share your playbook or host file where you passing the sudo …

Hi Jerin, here is my playbook. Let me know where in the playbook i have to pass the sudo.

Thanks for your help

Hi Jerin, here is my playbook. Let me know where in the playbook i have to pass the sudo.

I have no clue what you mean by “passing the sudo”, sudo isn’t even a noun.
If I have to guess, do you mean “sudo password”?

In any case, I will give you exactly the same advice as I gave in your earlier message with the same question: read the docs on privilege escalation and make sure you understand them:

https://docs.ansible.com/ansible/latest/user_guide/become.html

Dick, thank you for sharing the URL. I will visit the guide.