Hi
I have started using Ansible resently and have a small problem.
I have to ssh in as {someuser} and become {jvm} user to execute copy and
http get task
My sites file looks like
---
# This playbook deploys
- hosts: test-environments
remote_user: "{{user}}"
become: yes
become_user: jvm
roles:
- pte
the problem is that the build in become seems not to work on our linux
target machine. (getting prompted for sudo password)
I guess ansible will perform a sudo su - jvm, but thats not allowed.
I'm only allowed to execute 'sudo su -s /bin/bash - jvm' to become the jvm
user
Any pointers on how that fits in with ansible ?
I'm a noob ansible user
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/8039e617-4496-4ec6-966d-511c5dff968e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.