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