# playbook errors when run through Ansible tower

**URL:** <https://forum.ansible.com/t/playbook-errors-when-run-through-ansible-tower/31151>\
**Category:** Ansible Project\
**Created:** [August 28, 2019, 12:34pm UTC](https://forum.ansible.com/t/playbook-errors-when-run-through-ansible-tower/31151 "2019-08-28T12:34:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shashank\_Dutt\_Jha](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Shashank\_Dutt\_Jha](https://forum.ansible.com/u/Shashank_Dutt_Jha)\
**Post date:** [August 28, 2019, 12:34pm UTC](https://forum.ansible.com/t/playbook-errors-when-run-through-ansible-tower/31151/1 "2019-08-28T12:34:24Z")

</div>

I have a task like below:

name: start the service.  
shell: “run some command”  
become: yes  
become\_method: sudo  
become\_user: “usera”  
args:  
chdir: “/opt/ABC”

And it works fine when I run using command  
ansible-playbook playbook.yml

But same when invoked from ansible tower, fails with error:  
FAILED! =\> {“msg”: “Incorrect su password”}

To me sounds strange, All other tasks with root user able to run properly.

any help/ pointer is required.

---

<div class="post-metadata">

**Author:** ![racke](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/racke/32/4767_2.png) [@racke](https://forum.ansible.com/u/racke)\
**Post date:** [August 28, 2019, 12:37pm UTC](https://forum.ansible.com/t/playbook-errors-when-run-through-ansible-tower/31151/2 "2019-08-28T12:37:15Z")

</div>

> I have a task like below:
> 
> name: start the service.  
> shell: "run some command"  
> become: yes  
> become\_method: sudo  
> become\_user: "usera"  
> args:  
> chdir: "/opt/ABC"
> 
> And it works fine when I run using command  
> ansible-playbook playbook.yml
> 
> But same when invoked from ansible tower, fails with error:  
> FAILED! =\> {"msg": "Incorrect su password"}
> 
> To me sounds strange, All other tasks with root user able to run properly.
> 
> any help/ pointer is required.

Please contact support for Ansible Tower. This list is specifically for Ansible, not for Tower or AWX.

Regards  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Racke
