playbook errors when run through Ansible tower

25 views
Skip to first unread message

Shashank Dutt Jha

unread,
Aug 28, 2019, 8:34:24 AM8/28/19
to Ansible Project
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.

Stefan Hornburg (Racke)

unread,
Aug 28, 2019, 8:37:37 AM8/28/19
to ansible...@googlegroups.com
Please contact support for Ansible Tower. This list is specifically for Ansible, not for Tower or AWX.

Regards
Racke

>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> ansible-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/cca69c04-44d9-4cf8-906c-07cb3ef63261%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/cca69c04-44d9-4cf8-906c-07cb3ef63261%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

signature.asc
Reply all
Reply to author
Forward
0 new messages