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.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/cca69c04-44d9-4cf8-906c-07cb3ef63261%40googlegroups.com.