# Ansible upgrade from 2.2.1.0 to 2.2.2.0 - Shell module unable to elevate privileges with sudo

**URL:** <https://forum.ansible.com/t/ansible-upgrade-from-2-2-1-0-to-2-2-2-0-shell-module-unable-to-elevate-privileges-with-sudo/24089>\
**Category:** Ansible Project\
**Created:** [March 28, 2017, 7:33pm UTC](https://forum.ansible.com/t/ansible-upgrade-from-2-2-1-0-to-2-2-2-0-shell-module-unable-to-elevate-privileges-with-sudo/24089 "2017-03-28T19:33:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julio\_Henrique\_Morim](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@Julio\_Henrique\_Morim](https://forum.ansible.com/u/Julio_Henrique_Morim)\
**Post date:** [March 28, 2017, 7:33pm UTC](https://forum.ansible.com/t/ansible-upgrade-from-2-2-1-0-to-2-2-2-0-shell-module-unable-to-elevate-privileges-with-sudo/24089/1 "2017-03-28T19:33:48Z")

</div>

We have a bunch of scripts to manage automation of installation of java application servers, as well as application deployments.

We recently upgraded to Ansible 2.2.2.0 and noticed the [shell](http://docs.ansible.com/ansible/shell_module.html) module appears to be broken by the update.

`

TASK [glassfish-deploy-cluster : Lock para evitar restart do glassfish pelo Zabbix] \*\*\*  
changed: [infra00-lab →] =\> (item=)

changed: [infra00-lab → infra01-lab] =\> (item=infra01-lab)

fatal: [infra00-lab]: FAILED! =\> {“failed”: true, “msg”: “Incorrect sudo password”}

`
