# Playbook can't run

**URL:** <https://forum.ansible.com/t/playbook-cant-run/34399>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [January 6, 2021, 8:26am UTC](https://forum.ansible.com/t/playbook-cant-run/34399 "2021-01-06T08:26:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asong\_Gentle](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@Asong\_Gentle](https://forum.ansible.com/u/Asong_Gentle)\
**Post date:** [January 6, 2021, 8:26am UTC](https://forum.ansible.com/t/playbook-cant-run/34399/1 "2021-01-06T08:26:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jerin\_J](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@Jerin\_J](https://forum.ansible.com/u/Jerin_J)\
**Post date:** [January 6, 2021, 8:40am UTC](https://forum.ansible.com/t/playbook-cant-run/34399/2 "2021-01-06T08:40:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Asong\_Gentle](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@Asong\_Gentle](https://forum.ansible.com/u/Asong_Gentle)\
**Post date:** [January 6, 2021, 7:27pm UTC](https://forum.ansible.com/t/playbook-cant-run/34399/3 "2021-01-06T19:27:46Z")

</div>

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

Thanks for your help

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [January 6, 2021, 7:44pm UTC](https://forum.ansible.com/t/playbook-cant-run/34399/4 "2021-01-06T19:44:44Z")

</div>

> 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](https://docs.ansible.com/ansible/latest/user_guide/become.html)

---

<div class="post-metadata">

**Author:** ![Asong\_Gentle](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@Asong\_Gentle](https://forum.ansible.com/u/Asong_Gentle)\
**Post date:** [January 6, 2021, 10:58pm UTC](https://forum.ansible.com/t/playbook-cant-run/34399/5 "2021-01-06T22:58:32Z")

</div>

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