use ~/.ssh/config to work around this, so that ssh $(somewhere) drops you right into where you want to be
e.g. for server01 where the non-root user is "jboss". You will the private key for the user jboss on your management box. $cat config Host jboss-server01 Hostname server01.fqdn.com User jboss IdentityFile ~/.ssh/id_rsa.jboss now, run ssh jboss-server01 it should drop you into a shell. you will have to set the ansible transport to be ssh in .ansible.cfg. This can also be used to circumvent jump boxes. -- 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-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.