# Incorrect Sudo Password

**URL:** <https://forum.ansible.com/t/incorrect-sudo-password/31791>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [December 9, 2019, 9:01pm UTC](https://forum.ansible.com/t/incorrect-sudo-password/31791 "2019-12-09T21:01:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carl\_S](https://avatars.discourse-cdn.com/v4/letter/c/ea5d25/32.png) [@Carl\_S](https://forum.ansible.com/u/Carl_S)\
**Post date:** [December 9, 2019, 9:01pm UTC](https://forum.ansible.com/t/incorrect-sudo-password/31791/1 "2019-12-09T21:01:31Z")

</div>

This was previously working, but about a month ago, after an update, it stopped. This is for my home network. I have 3 Kubuntu computers, 1 working as a server, with Ansible installed, 2 client workstations.  
This is the error message - “fatal: [desktop1]: FAILED! =\> {“msg”: “Incorrect sudo password”}”

I can log into all 3 computers with the same ID and same password. Once there I can run 'sudo apt-get update (or upgrade), on all 3. Root is disabled in Ubuntu, but for attemping to figure this out, I enabled it and set the password to be the same as mine on one of the machines. Same error.

I setup passwordless SSH keys on each of computers. I can ssh into the server and then ssh into each of the clients from the server.

On the server, in my home directory, I have a folder called playbooks. In it I have 3 files. 1 - update.yml, 2 - update.sh, 3 - secret.

When I run ‘ansible-vault edit secret’, I can see ‘ansible\_sudo\_pass: xxxxxxx’ (xxxxxx replaces my real password).

update.sh contains only 1 line: ‘ansible-playbook update.yml --ask-vault-pass’. When I run this, it asks for the vault password, then shows the task names where it errors out.

update.yml contains the following lines:
